The "start workflows in parallel" workflow seems to start them all and then complete, even if they are still running. Is this the expected behavior?
-Ann
No, that is not expected behavior - the last box "Wait for completion" is supposed to keep the workflow in a running state until all tokens have completed.
Thank you Burke, that's good to know. I must be doing something wrong, will dig deeper.
-Ann
For the benefit of other people reading this thread the workflow is not waiting for workflows in "waiting-signal" state. You can duplicate the "start workflow in parallel" workflow and edit it to add it:
for(var i=0; i<wfTokens.length; i++){
if(wfTokens[i].state != "running" && wfTokens[i].state != "waiting" && wfTokens[i].state != "waiting-signal") { //added && wfTokens[i].state != "waiting-signal
Christophe.