question

Kari Payton avatar image
0 Likes"
Kari Payton asked tannerp edited

Stop model at point in process flow.

Is it possible to stop the model at a specific point of the process flow? For example, on exit of a subflow before going into the next subflow I have a lot of processes that take a lot of time. I want to stop the model just before a certain process to look at in a much slower time.

FlexSim 18.2.2
process flow
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

Joshua S avatar image
0 Likes"
Joshua S answered tannerp edited

You can use a custom code activity with just

stop();

in a code snippet and that will stop the model, then you can resume it again normally.

· 1
5 |100000

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

Sebastian Hemmann avatar image Sebastian Hemmann commented ·

If you do so, just be sure to also add a "Delay" Activity with a Delaytime of Zero. Sometimes tokens do not stop immediately after or even in the custom code (with stop)!

0 Likes 0 ·