question

Brandon I avatar image
0 Likes"
Brandon I asked Joerg Vogel edited

How to make a value decision (if) in process flow?

Hi everyone,


I have a question regarding my model as follows:

In my process flow, I have a decision. I want the decision to check what the current value of the "Variable" is. If the variable is '1', I want the process flow to go left of the decision point (connector 1), and right of the decision point (connector 2) if the value of the variable is '0'. Is this possible in my case?

At the end of the process flows I set the variable, either to 1 or 0 again depending on which way the flow progresses to repeat the process.

Kind regards,

Brandon

queuealternate.fsm

FlexSim 19.0.0
process flowdecision
queuealternate.fsm (56.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

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

Decide activity

Conditional Decide
condition token.variable == 1

· 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.

Brandon I avatar image Brandon I commented ·

Thank you!

0 Likes 0 ·