IF CONDITION IN PICK BRANCH ACTIVITY

Hi Team,

I am in the situation where I need to check for some text in various columns of DT (Columns - A,B,C,D,E).

I am using the code such as:-
row.Item(0).ToString.Trim.Replace(" “,”").Equals(“Owners,Operators,orManagers”)
row.Item(1).ToString.Trim.Replace(" “,”").Equals(“Owners,Operators,orManagers”)
row.Item(2).ToString.Trim.Replace(" “,”").Equals(“Owners,Operators,orManagers”)
row.Item(3).ToString.Trim.Replace(" “,”").Equals(“Owners,Operators,orManagers”)
row.Item(4).ToString.Trim.Replace(" “,”").Equals(“Owners,Operators,orManagers”)

I am have a FOR EACH ROW activity in which I am using 5 if conditions. Now, I was wondering if I can use the Pick and Pick Branch components to use 5 IF CONDITIONS.

Not sure if it is possible.

Please respond, very urgent.

Thanks and Regards,
@hacky

@hacky, It is not a best idea to use 5 if conditions, Perhaps, you just use one do while statement inside make an integer value as follows:
Do
row.Item(i).ToString.Trim.Replace(" “,”").Equals(“Owners,Operators,orManagers”)
i = i+1
While Until MaxVal

If you use above logic, your output will come.
Hope my inputs are useful.