For each activity usecase

Hi, Im trying a sample example for for each activity,here i want to find out the smallest no from the array …so when im using an if activity inside for each activity im getting below mention error…
For each loop.xaml (9.3 KB)

Hi @Chippy_Kolot ,

You must write a valid condition in the condition section.

@Chippy_Kolot

As per error condition field is left empty

you need to define a condition

cheers

Instead of If activity directly i can provide the condition there…?

@Chippy_Kolot

you mean in for loop codnition field?if yes then it would not work

cheers

Yes I tried…Other than that what condition i have to provide there…Im not much aware of modern activities…Can you please let me know …what condition i can provide there…

@Chippy_Kolot

something like say you have array and you want to interate through items whose index is greater than4…then you can use condition

cheers