- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
I'm trying to simulate the creation of a picking process with its OrderId and order lines.
I have the following structure where an order takes a Picking Port and doesn't leave it until all order lines are finished:
In the Create Tokens step, the number of line orders are created and sent to another flow. Once this order lines finish their process, all of them are gathered together in a Batch activity, and this is the activity that fires the Wait for Event. See below the example where one order's finished and two still missing.
The thing is that i want the Wait for Event activity to release the parent token that is related to the childs, not any of these. The child and parent's share the OrderId label but when I try to do the matching it doesn't work. It only works if I put the OrderId as seen below but the Wait for Event activity releases the incorrect token (which it doesn't make really sense).
What is wrong here? How can I make the Wait for Event activity to release the correct parent token?
Thanks!
Solved! Go to Solution.