Issue regarding Break Statement and For Each Loop

I am iterating through a data table using For each loop and when a certain condition triggers, I am using Break activity to came out of the loop.
And the process will start again from the first row of the dataTable as it will again move inside the For loop activity.

What I want to acheive is it should start from the next row of the datatable(The one that comes after the row that triggers the break statement)…Not from the beginning.

Hi @Sami_Rajput

You should be using the continue activity then, if you want to skip the current row and continue from the next one.

image

Regards,
Aditya

1 Like

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