Forum Discussion
I’d like to understand your use case better. Which field are you grouping on? In your example you just have 2 inputs becoming one output, yes? What if there are many inputs with different values for the grouping field? You’ll have many outputs. Do all become part of the response of your pipeline?
HI
Yes that is correct.
- ptaylor4 years agoEmployee
You can’t return more than one output document per input document from an Ultra pipeline. If your pipeline generates more than one, only the first will be used for the response. You might want to consider a Triggered task instead. It will execute a new pipeline instance for each request so is more flexible.
See the notes under “Output View Type” on this doc page:
https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/731349232/Planning+Ultra+Pipeline+Tasks