I have a token that is not moving after the subflow is completed. I have it routed to a finish activity, but it is not moving.
I have a token that is not moving after the subflow is completed. I have it routed to a finish activity, but it is not moving.
The Run Sub Flow creates child tokens in a Start activity and then waits until those tokens reach a Finish activity and are destroyed. Sending the child tokens through a Sink causes them to not notify the parent token. Change your Sink to a Finish and it will work.
Hi Felix,
What's going on is that you've created two child tokens from the "Create Tokens" activity within the subflow, and those are the tokens that finish the subflow. The main subflow token is destroyed, and the child tokens can't return to the "Run Sub Flow" since they're not the same tokens. A way to accomplish the same thing is to set the quantity in the "Run Sub Flow" activities to each be two. I attached updated model for your convenience.
@Adrian Haws if the quantity is now two then that means each token goes through the process time. For example if delay 'insert pin' = 7 and delay 'glue pin' =10 my total time comes out to be 20 instead of 10. Is there a way to fix this. I tried to divide by the number of workers but in the end i'm using a statistical distribution so I can't divide the process time by two.
@Adrian Haws I fixed it by using a table for the time and created a global variable to use the function gettablenum(----) / global variable. This may not have been the best way and maybe you have a better way.
@Adrian Haws this is the attachment with the dashboard showing how much operators are utilized in regards to the last comment we made. 1442-1438-1400-1398-multiple-resources-autosave-1.fsm
@Felix Sims The only problem is that in the "Create Subflow" activities where you create two tokens each, the box for "Label Access on Parent Only" is checked. This means that each of the child tokens has an array of two operators (since the parent token gets the label value from each token), which messes things up. All you have to do is uncheck that box.
@Felix Sims I reposted this question here, since it is a separate issue and can be helpful to others.
5 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved