Showing results for 
Search instead for 
Did you mean: 
Not applicable

Checking when secondary workflows are completed

I've created a system that will loop through and create X number of sub-workflows, but I now need to have the 'master' workflow wait until all sub-workflows have completed.

I cannot have the workflow wait on each sub-workflow as they need to be run parallel to each other. (I cannot use a parallel action as I'm using a for loop.)

Is there anyway to achieve this?

I've attached the workflow in it's current state.



Labels: (1)
3 Replies
Nintex Newbie

Re: Checking when secondary workflows are completed

I would do it following way

- created a status column for child workflows in master list. if there is reasonable/definite amount of child workflows started it could be single status column per each workflow. if there are plenty of them resp. varying number of child workflow, I would created one status column with custom XML format where I would maintain how many child workflow has been started and status/return value for each workflow.

- configured child workflows to update that status column in master list

- moved all the logic past the child workflows are started to a separate workflow that would start on master list update. within the workflow I would check all the child workflow statuses and if all are completed I would advanced to respective handling logic or otherwise finished the workflow.

Im not sure what exactly is your business logic but you also might need to implement some 'safety' check so that you do not wait for child workflows forever or not to run final handling logic multiple times if item updates are possible after the logic already ran.

Not applicable

Re: Checking when secondary workflows are completed

Hi, ‌, If Marian's response works out, would you please select the "correct answer" button on his reply? It's helpful to other community members who'll see the green correct answer box when they search for similar questions. Thank you!


Your community manager

0 Kudos
Not applicable

Re: Checking when secondary workflows are completed

Hello Marian,

Thanks for your response. I'll test this and see if it will work.