question

Doris C avatar image
0 Likes"
Doris C asked Joerg Vogel commented

how to use decide in processflow

Hellow,

I am currently testing the decide.

What I want now is to load red agv from the red processor and green agv from the green processor.

If you look at process flow, tokens should be gathered from one place to another and divided again.

But decide concentrates tokens to one side only.

I hope that tokens that start in red should go to the last red travel, and tokens that start in green should go to the last green travel.

decide.fsm

FlexSim 19.0.0
agvflexsim 19.0.0decide
1600841888948.png (69.3 KiB)
decide.fsm (69.4 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.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

You should use for the last rotator block another structure to prevent joining of tokens. You put this block in a sub flow with start and end activities, which you run from the red and green branch.

decide-jv.fsm


decide-jv.fsm (68.8 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.

Karen C4 avatar image
0 Likes"
Karen C4 answered Joerg Vogel commented

Hellomodelo (2).fsm, we are simulating an order and we want to know if the customer is old or new, we also want to evaluate customer satisfaction with a Decide, but we don't know how to assign the Decide, thank you.


modelo-2.fsm (35.2 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.

Joerg Vogel avatar image Joerg Vogel commented ·

By best practices of this forum you should answer to questions and ask a question in a new thread. Then you are able to tell us what version you ask your question for.

0 Likes 0 ·

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.