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.

Natalie White avatar image Natalie White commented ·

@Aaupadhye,

Your previous question at https://answers.flexsim.com/questions/146119/process-flow-approach.html now has an answer with another example that resolves this question.

1 Like 1 ·

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.

Carter Walch avatar image Carter Walch commented ·

wcocmodeldraft7.fsm

There were some errors with the Create TS activity for small boxes that I believe are unrelated to your question. But the attached model includes fixes for both. We just had to use your labels to determine which operator was the task executer and which station to travel to. Let me know if you have any questions

1689276105937.png

0 Likes 0 ·
1689276105937.png (4.8 KiB)
wcocmodeldraft7.fsm (176.8 KiB)
Carter Walch avatar image Carter Walch Carter Walch commented ·
Sorry I need to re-attach the model in the correct version of flexsim, give me one moment
0 Likes 0 ·
Carter Walch avatar image Carter Walch Carter Walch commented ·

Almost ready with the updated model in the right version. But to answer that your other question, because the label sendDirection we are assigning is either 1 or 2, we need to change the cases in Send Item By Case to be 1 or 2. Also make sure that the Case Function doesn't include an equal sign.

1689276517820.png

1689276548924.png

0 Likes 0 ·
1689276517820.png (20.5 KiB)
1689276548924.png (16.6 KiB)
Show more comments

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.