I have a ProcessFlow where I Split the tokens into 5 child tokens that go to 5 different places to do their things.
Then I use Join to re-join those tokens together before sending the resulting token to a final process.
All works great except that the tokens do not all arrive at the end in the same order they were created at first. I need them to arrive in the same order which is a sequence number on a label called token.sequence
The reason they don't arrive in the same order is that in the individual branches that the child tokens go through, some tokens might pass ahead of others and so get to the Join ahead of an earlier token which spent more time there. And the Join just releases the tokens when he has collected all 5 childs.
So I need a way for the Join to release the tokens in the order on label token.sequence and not mix the sequence.
Is there a way to do this?
Thanks a lot. Pretty stuck on this. I've read all material in the manual but can't find the answer.