Hello,
I want to fully understand the order of execution in FlexSim and I still have a doubt on how Process Flows works.
In the attached models I have two different behaviors if I push to a list from a trigger of an object (or from a script) and if I do the same from a Custom Code activity of a Process flow:
- If I push to the list outside of the Process Flow more items together, they can be pulled separately by different tokens that flow one by one to the next activity
- If I push to the list by a Process Flow more items together, they are pulled separately, but the tokens wait on the "Pull from List" activity until all the pushes are done
I have attached two examples:
- Push from Trigger - Uses the On Entry of the Queue to push - At every Push, the token that pull
- Push from Process Flow - Uses the "Push to List" custom code of the Process Flow "Push Process Flow" to push - On the "Pull Process Flow" the tokens don't move from the Pull From List activity until every push is completed
Why do I have these different behaviors?
Is there a guideline on these "order of execution" aspects?
Thank you.