Forum Discussion
jibin_s
2 years agoNew Contributor II
Thanks, alchemiz!
I tried the solution but unfortunately it did not help me. Following is the screenshot of the execution. In it you could see that the Pipeline Execute is failed but still the In Memory Lookup executed successfully.
alchemiz
2 years agoContributor III
Hi jibin_s .. you should also include the in-memory lookup in the child pipeline if you want it this way try setting up the output from the REST as the left hand side then the streaming copied document as the right side this way if there's no matching output from REST it will not stream
- jibin_s2 years agoNew Contributor II
Thanks, alchemiz!
- If I use the In-Memory Lookup in the child pipeline, I'm unsure to pass the content from Copy snap (i.e: Workday documents in this case) to the lookup.
- Yes, it will work if I swap the inputs in In-Memory Lookup. But if I change the inputs, I'll not be able to achieve the logic of comparing the data to be processed further.
I have managed to restructure my pipeline by adding following components:
- Pipeline Execute - Executes REST Get snap to retrieve documents from API
- Gate - Combines the inputs
- Router - Check if there there are any errors from REST Get input? If so, execute Exit else proceed further
- Mapper - Split the inputs and supplies them to In-Memory Lookup