question

Aaupadhye avatar image
0 Likes"
Aaupadhye asked Carter Walch commented

Referencing Decision Point in Process Flow

WCOCModelDraft7.fsm

*I am only working on the left most part of the process flow for now, the rest is just a copy paste job*

Essentially what I am trying to do is assign a label called "sendDirection" to the box that gets created. Once it arrives at the Decision point 'DP8' if its value is 1 it should go to DP7 and if not it should go to DP9. I cannot find a way to route the box using decision points in process flow, so I tried hard coding logic onto the decision point but it does not work. On top of this, even if the box hits the pack station the operator does not start the task sequence.


Thanks,

Amit

FlexSim 23.0.8
process flowdecision point
wcocmodeldraft7.fsm (176.3 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.

1 Answer

Carter Walch avatar image
0 Likes"
Carter Walch answered Carter Walch commented

HI @Aaupadhye ,

You just need to change some of the syntax, but your logic is correct. Because you are assigning the sendDirection label on the created objects and not the token. You will use item.sendDirection instead of token.sendDirection in the trigger of DP8. It is also good to have a default destination value or else it will throw an error.

1689275611204.png

1689275561535.png


1689275561535.png (14.8 KiB)
1689275611204.png (34.1 KiB)
· 4
5 |100000

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