How to add multiple condition in a single If activity or a decision activity?


#1

i want to add multiple condition in a If activity or Decision activity like
RowCount > 100 && RowCount < 200

How to achieve this?


#2

@radhakrishnan84, Just use AND / OR instead of && / ||

Regards,
Dominic :slight_smile:


#3

hi @Dominic @radhakrishnan84,

Could you share the workflow with detailed example.
First i will be giving the input of any of the 26 alphabets,this variable .

For A,B,C,D -----It should execute one action
For E,F,G,H,I,J ------It should execute different action
For K,L,M,N,O,P-- It should execute another different action.

How to get this condition?


#4

Hello,

Just saw your question, and i have a solution that is quiet easy actually.

Firstly create and IF in your workflow with the condition of:
VARIABLE=A or VARIABLE=B OR VARIABLE=C OR VARIABLE=D
And in the THEN column execute action1

Then nest another IF in the ELSE column of the first IF…and set that condition to:
VARIABLE=E OR VARIABLE =F (etc, etc)
And in that THEN column run Action2

The set the 3rd IF in the 2nd IF ELSE column with conditon VAR=K OR VAR=L
And the THEN column to run action 3

Essentially if the Letter Variable is not A or B or C or D then it will go to next IF decision and try for EFGHIJ, and then KLMNOP

Hope that makes sense. here is a screen shot for you


#5

Hi,

Thanks for the input…

anyother short cut option to attain this multiple condition in a single if activity or a decision activity?


#6

Hey @Thamilmozhi

what about Flow Switch or Switch Activity?

Regards…!!
Aksh


#7


when that pop up occurs i should get one hot key extra otherwise i dnt need.please help me out


#8


when that pop up occurs i should get one hot key extra otherwise i dnt need.please help me out