question

Mehdi K2 avatar image
0 Likes"
Mehdi K2 asked Joerg Vogel edited

how run a subflow inside my custom code

hi,

i have a code which i need to run a subflow inside it. i use below codes but not worked.

executesubflow("ProcessFlow", current, "Start", "Finish");

what is my mistake?


FlexSim 19.0.0
flexsim 19.0.0custom codesubflowcommand
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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

Process Flow is the name of the sheet. You can choose a Process Sub Flow type. Please be sure you use unique names for your activities.

And do not use any delays or wait until activities in this sub flow.

NOTE: It is important that the activities used in the Sub Flow do not create delays or wait. If the token is interrupted by a delay or wait, the token will not arrive at the Finish activity when the executesubflow function finishes.

executeSubFlowV19.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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