IF condition

IF condition

gudapatisriharisha
Participant Participant
24 Views
4 Replies
Message 1 of 5

IF condition

gudapatisriharisha
Participant
Participant

[ FlexSim 22.2.0 ]

image.jpgHello.

There are three activities A,B,C. Using an IF condition, if its true, it has to perform activity A and when false, it has to perform both activities B and C simultaneously. Is this possible to code using FlexScript?

I can't use split here since the flow already has a split in the beginning. So, if I use split here again, the splitID is replaced with a new splitID which doesn't make it feasible for joining it in the end. Hence, I wanted to check if coding it directly using "IF" is possible?



0 Likes
Accepted solutions (1)
25 Views
4 Replies
Replies (4)
Message 2 of 5

moehlmann_fe
Explorer
Explorer
Accepted solution

"splitID" is just the default name given to the label that identifies which tokens belong together. You can change it to something different and use as many nested split activities as you want, as long as each Split/Join pair has unique label name for the ID.

1727072252537.png

0 Likes
Message 3 of 5

logan_gold
Community Manager
Community Manager

Hi @Sri, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes
Message 4 of 5

gudapatisriharisha
Participant
Participant
Hello Felix,

Thank you for your answer. It works now!

0 Likes
Message 5 of 5

gudapatisriharisha
Participant
Participant
Hey Logan. Yes, it was helpful. Thank you.
0 Likes