question

Sri avatar image
0 Likes"
Sri asked Sri commented

Joining split tokens after executing a decide function

screenshots-1.png

Ideally, join has the condition to wait till it recieves tokens from all the connectors. But here, I have a decide function which has true/false check. If its true, it joins immediately but if its false, it has to go through another split and later after executing all the activities under false condition it has to join back. But my token never executes any functions after join( here Delay :3) since they are waiting for 3 split token since there are 3 connectors when only two exists. Is there any other way I can do this?

FlexSim 22.2.0
conditional decidesplitjoin
screenshots-1.png (77.5 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Sri commented

Just use some 'dummy' activity (for example an empty Custom Code) to join up the two paths after the Decide to reduce the number of incoming connections to the Join activity.

capture1.png


capture1.png (26.4 KiB)
· 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.

Sri avatar image Sri commented ·
Thank you. It worked!
0 Likes 0 ·