Multiple conditions

Hi,

I need to create a decision table like:
if a=0 and b>1 do Sequence1,
if a>0 and b>1 do Sequence2,
if a>0 and b=1 do Sequence3,
if … do

It could be done using Data table and Excel to compute the condition but I’d like to know if there is a simpler way. May you help me?

Thanks in advance!

1 Like

@Paola58

You could use the Pick and Pick Branch activity for this kind of scenario.

Regards :smiley:

1 Like

@Paola58

I think you can also try using the Switch or Flow Switch activities

Regards:fox_face::wolf:

3 Likes

Thanks! But I can’t understand how to set the trigger!

1 Like

@Paola58

I did some test here to check if I could do something that could solve your problem and realized that @Christopher_Gomez option is more viable to you.

The pick activity would be better in an environment with buttons and images, not numbers.

Sorry!

1 Like

Use state machine it will help u

1 Like

Hi,

eventually I found an effective way to switch based on string variables: flow switch.
https://activities.uipath.com/docs/flow-switch.

Using simple Vb if statement and flow switch one could invoke different workflow.
Hope this will help.