cancel
Showing results for 
Search instead for 
Did you mean: 

Execute each child pipeline multiple times

pranjbhatt
New Contributor III

Hi, 

I have a parent pipeline that is receiving an array of client_code.  I have mapped and routed it to two child pipelines and would like to execute the each of the child pipeline for each of the code. 

Let's say for 3 incoming client_codes. I want to execute each out of two child pipeline 3 times (so six parallel executions). Following is screenshot of parent pipeline.

 

pranjbhatt_0-1729526631008.png

 

1 ACCEPTED SOLUTION

SpiroTaleski
Valued Contributor

@pranjbhatt 

If thats the case then, in a Mapper Snap(befor the JSON Splitter), parse the String to JSON using JSON.parse function. 

View solution in original post

6 REPLIES 6

SpiroTaleski
Valued Contributor

@pranjbhatt 

If thats the case then, in a Mapper Snap(befor the JSON Splitter), parse the String to JSON using JSON.parse function. 

One last question, Is it possible to process all client_codes in parallel? My current setup is passing the JSON details using router to several pipeline execute commands that call API child execution parallel. But I want to call parallel per client basis as well. (parallel execution of each document)

pranjbhatt_0-1729781770667.png