question

Mischa Spelt avatar image
0 Likes"
Mischa Spelt asked Mischa Spelt answered

How to get the item from Execute Sub Flow

I wanted to run some complicated logic in a Send To Port trigger of a 3D object so I thought I'd use the Execute Sub Flow option:

1634716183687.png

But in the subflow, how can I get a reference to the item? I guess I could make the item the instance object and find the current from that but that doesn't really sound like the way it's supposed to work.

FlexSim 21.2.3
process flowsend to porttoken labelsexecute sub flow
1634716183687.png (14.9 KiB)
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

Mischa Spelt avatar image
3 Likes"
Mischa Spelt answered

I found the magic checkbox! The trick is to use an Event Triggered Source and check Will Override Return Value. That allows you to capture the event parameters and specify the trigger result in the Finish activity.

1634743238075.png


1634743238075.png (18.2 KiB)
5 |100000

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