Unable to handle echo message
- 4 years ago
Thanks, Jens. The image of your pipeline is too low-res for me to be able to read the snap names. But I think I’m hearing that the crux of the problem is that your SQL Select returns multiple records so you’re trying to deal with that in your Ultra pipeline.
The key to doing that is to use a child pipeline and move the SQL Select to that pipeline, along with whatever snaps are needed to aggregate those multiple documents and return a single document as the result of the child pipeline. Then in the parent, do any additional processing needed on that child output document to create a single response document for this request. This works because a new instance of the child pipeline is created for every request, so you can use aggregating snaps there that you can’t use in the root Ultra pipeline. Make sense?