11-20-2024 02:07 PM
I have a simple pipeline that gets called through a trigger that takes multiple documents and calls a child pipeline through a pipeline execution snap. The child pipeline returns if the processing of the document is successful or not. I would like to be able to collect these responses and have that be part of the return value to the application that is calling that trigger. I only seem to be getting the return value of the first document and not the rest of the documents although they are being processed. Any ideas on how to collect the return values?
Parent Pipeline
Child Pipeline
11-20-2024 02:51 PM
Try adding a json formatter snap after the pipe exec
11-23-2024 08:49 AM
Hi @adanmas ,
By default, the triggered task will wrap the response in an array format [{},{}] and send it to the client. Additionally, the response will include the original payload passed to the child pipeline. After the pipeline executes the snap, SnapLogic will send the response in this array format. You can verify the response by triggering it using Postman or any other available tools.