How to Pause the delay token in process flow by using time table

How to Pause the delay token in process flow by using time table

prgak
Participant Participant
283 Views
7 Replies
Message 1 of 8

How to Pause the delay token in process flow by using time table

prgak
Participant
Participant

[ FlexSim 24.2.1 ]

Pause delay token in Process flow.fsm

Hi ,

I need to run the Basic FR by using process flow, when I am using time table for scheduled down. the process flow tokens are not pause at the time of scheduled down. I need the Process should pause when scheduled down start and process should continue after the Scheduled down.


e.g.

Input : Basic FR Process time =30hr, weekly 2 days planning for scheduled down

Expecting result: when running the model, Process starts and running for 3.5hr +24 hr Scheduled down+ remaining process 26.5hr


Thanks in advance

0 Likes
Accepted solutions (4)
284 Views
7 Replies
Replies (7)
Message 2 of 8

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

When an item enters, write a reference to the current token to a label on the BasicFR. Use this label in the down and resume functions to stop/resume the token.

pause-delay-token-in-process-flow_1.fsm

Message 3 of 8

prgak
Participant
Participant
Thank you @Felix Möhlmann
0 Likes
Message 4 of 8

prgak
Participant
Participant

Hi @moehlmann_fe ,

 

Instead of delay , I need to use sub flow and Sub- sub flow like mentioned in  attachment , how to pause all token with respect to Time table.

 

 

0 Likes
Message 5 of 8

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

You could use a user command that calls itself to stop all "offspring" of the token.

Message 6 of 8

prgak
Participant
Participant
Accepted solution

Thank you @moehlmann_fe 

0 Likes
Message 7 of 8

prgak
Participant
Participant

Hi @moehlmann_fe ,

 

Can you help to pause multiple token in process flow, attached sample model below. 

 

Thanks in advance for your support.

0 Likes
Message 8 of 8

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

Instead of writing a single token to the label make it into an array, so you have a reference to each active token. In the down and resume function, loop through all entries and stop/resume them.

0 Likes