For Each Condition Property

Hi Everyone,

I want to know how to use this condition property for each activity. Can we use a condition property so that it skips odd indexes in array? similar to the traditional for loop in c ( for(i=0;i<5;i=i+1))

Thanks

Hi @Vineet_Joshi

Assign- index = 0

For Each activity 
    If activity (Condition: index Mod 2 = 0)
         //  processing steps
     Assign activity (index = index + 1)

Hope it helps!!

forEach.xaml (7.1 KB)

U can refer this xaml…

in the past we encountered some issues (sometimes working, sometimes not wroking depending on package versions)

As an alternate, we can loop over:
grafik

Also we can do it directly like:
grafik

Maybe you can tell us on what collection you are looping?

I have a array(String) type collection

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