Comparing Multiple Value inside the Condition

Is there any way to Done with this ?
imagine I will input number of 800 records just for this Condition,
Please Help

Hi,

We can achieve it using array as the following. (String array can be converted from datatable etc.)

img20210526-2

Regards,

1 Like

hi,

i got error

I agree with @Yoichi . You could leverage Invoke code activity to do the same.

var myString;
var arr = {“123”,“322”,“3223”,“786”};
foreach(var a in arr)
{
if(a.Equals(myString)
{
}
else
{
}
}

Hi,

Which error do you have? Can you share the error message?

Regards,

1 Like

THanks yoichi

wait @Yoichi what error message stands for
image

Hi,

It shows some variable is null(Nothing). Can you check if your variables is null in Locals panel when workflow stops due to error?

Regards,

I see, I forgot to named the data table
image

Thanks a lot for your time and effort @Yoichi

1 Like

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