question

Noah Z avatar image
1 Like"
Noah Z asked Jeanette F commented

Entering and Exiting a Zone Using Custom Code?

I'm wondering if there a way to do this?

FlexSim 24.1.0
zonecustomcode
· 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.

Hi @Noah Z, was Jordan Johnson's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

No, the only way to enter a Zone is by sending a token to the Enter Zone activity. That token can cause a different token to enter the Zone instead of itself (see https://docs.flexsim.com/en/24.1/Reference/ProcessFlowObjects/SharedAssets/EnterZone/EnterZone.html, "Enter For"), but that option is rarely used.

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.