question

Adam C avatar image
1 Like"
Adam C asked Adam C commented

Stop token in delay task sequence activity when operator is stopped?

DelayActivity-StopToken.fsmThis is a simplified concept model, but I have an operator being used for transport and process tasks built in Process Flow. He gets scheduled breaks via a time table. The time table calls stopobject() on the operator, but the activity timer (delay task sequence) does not pause. Functionally, the work continues to "do itself" while the operator is down.

How would I stop progress (the activity timer) until the break is over? I have tried referencing the tokens as contents or subnodes of the activity, but cannot get the references working in order to call Token.stop.


FlexSim 20.0.5
process flowtokensflexsim 20.0.5delay activitystop tokens
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matt Long avatar image
1 Like"
Matt Long answered Adam C commented

You'll need to use preemption activities to remove the token from the delay task when the object is stopped, wait until the object resumes and then move the token back into the delay task. The preemption activities will store where in the delay time the token was at when it was saved and then starts the delay time back up in the restore context. I've updated your model to show how that would work.

delayactivity-stoptoken.fsm


· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.