question

Luciano Cavallero avatar image
0 Likes"
Luciano Cavallero asked Luciano Cavallero commented

Enable/disable a process flow

Hi,

There is a way to enable/disable a process flow, like the 'enable' flag of MTBF/MTTR object?
(I tried with a general process flow to move back and forth the content of the >stats/instances node and 'seem' to work, but I don't know if it is a reliable mode.)

Thanks

Luciano

FlexSim 19.0.0
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

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Luciano Cavallero commented

You can disconnect/reconnect your source activities, or have a Decide after each source that determines whether or not to use tokens (where they go to a sink otherwise), maybe based on a global table value or a global variable.

I would strongly recommend against making changes to the instances tree of a process flow. That is not a reliable method, and I'm surprised that it doesn't cause a crash immediately.

· 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.

Luciano Cavallero avatar image Luciano Cavallero commented ·

Hi Jordan,

quick and clear reply.

Thanks

Luciano.

0 Likes 0 ·