I want to check multiple condition in If condition as per below. I tried with or and comma but its not working
Even I tried with variable also as like below but it is also not working.
File name read as per below
can someone please advice.
I want to check multiple condition in If condition as per below. I tried with or and comma but its not working
Even I tried with variable also as like below but it is also not working.
File name read as per below
can someone please advice.
Please provide all your numbers in strArray1 and test it.
Thanks!
Please check what is the value you are recieveing for FileName.
Also the values 868, 205 etc should be in an array (Declare a variable of type String and then in the Value provide all the values to check like {β868β,β205β, β¦}.
Use this variable in the If statement:
FileName.Contains(ArrayVariable)
Please use type of variable as String instead of GenericValue
Sorry please try WE3_Server_Sites.Contains(FileName)
hi @nm09011985,
Use following condition in your If activity,
As given below,
Add all your conditions using this β> (?=.*11) format in regex pattern separated with bar β> |
I am not sure that is the correct answer for you it just might work as you are only looking for equal values.
in general A.contains(B) does not mean B.contains(A). I will probably look to solution provided by @SuvarnaReddy123(lemda expression). there u can probably use Yourarray.findall(function(a) WE3_Server_Sites.Contains(FileName)),count condition as well.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.