Case switch

Hi everyone,
I need to design a workflow in which there are 3 cases for its 2 sub-workflows:
If variable A = 0 => Case 1: sub-workflow 1 will be then executed
If variable A = 1 => Case 2: sub-workflow 2 will be then executed
Otherwise => Case 3: both subworkflows will be then executed.

image

I’ve reached to the point that I can control Case 1 and Case 2 using CASE SWITCH VARIABLE node.
However, I am wondering how Case 3 can be done without duplicating sub-workflows?

Thanks so much for your advices.
Best
Hanh

Hi @hanhdo, I don’t think you can do that with a case switch, but if you are wanting to choose between “top”, “bottom” or “both”, then maybe the Flow Variable IF Switch might be a suitable alternative?

3 Likes

anhhh, yeah, ure right :smiley: I forgot about this node.
Thank you so much :smiley:
Best
Hanh

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.