I am working on the left side of the attached process flow model: processflowbatching.fsm
The process flow has three different loops, each with up to 6 stops. I have only been working on the blue loop so far (stop 1 and 2 are the most up-to-date), the rest should follow all the same logic once I figure it out. The batch activity at the beginning of the loop will batch up to 6 tokens (usually 4 tokens), and I would like to create logic that does the following:
- Only one resource is acquired per batch (currently, four resources are acquired for the four tokens in the first batch).
- One of the tokens is processed at Stop 1, goes through the sink, and the remaining tokens travel with the resource on to Stop 2.
- Once all of the tokens are processed, the resource is released.
Creating a connection from a sink to a decide activity seems to be impossible, so I'm thinking that I might have to use some combination of label assignment and conditional decides.
I am also up to suggestions on how to remove all of the connections between the activities in my process flow-- I know it's kind of overwhelming with all of the arrows, but I've tried using lists, global tables, etc. and I can't quite figure out the logic to push and pull tokens without the manual connections.
Thanks in advance for any advice or recommendations you might have!