question

Steven Chen avatar image
0 Likes"
Steven Chen asked Steven Chen commented

Invalid triggering event on local/internal list

Hello,

In process flow, use Event-Triggered Source to listen local/internal list causing exception. But if's fine to listen global list.

FlexSim 20.2.3
flexsim 20.2.3event triggerlocal list
· 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.

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Steven Chen commented

You can think about a local / internal list with a scope restricted to the function or source code where she exists. Then you can not reference the pointer from an external scope. The list declaration must be global to get access to a list. You can compare this with a declared variable in a for-loop statement block that you can not get access to from outside of this block.

· 3
5 |100000

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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

In a simple case there's no problem with this - as shown in the attached model.

So there must be something else happening. If you've instanced process flows I can image that might cause issues - but if you could share your model that would help us understand what's happening.


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