Loop through rowindex 1 until there are no elements

There is oneflow, where I have to loop through first row.
There are multiple rows after execution of first row the page refreshes and second row comes to first and so on.
So now I have to only loop first row. How should I do it?

After the items are null the flow should break

Hi

Have a counter variable created outside the loop with an assign activity

counter = 0

Where counter is integer variable

Then inside the loop use the set of activities u want to perform and then use a assign activity like this

Counter = Counter + 1

Next to this assign use a IF condition like this

Counter > 0

If true it goes to THEN Block where use a BREAK activity to come out of loop

Cheers @Bhushan_Nagaonkar

Not working. Im actually using while condition
In try catch block

hai,@Bhushan_Nagaonkar
ExcelDt.AsEnumerable.take(1).CopyToDataTable

Its a web application.

with a condition check (e.g. if there is remaining first row) we can trigger the loop condition

U can do the same even with While activity

Use a counter and see whether it is less than 1 or not
@Bhushan_Nagaonkar

No no it is not less that 1. It is 1

Can you tell me how?

Let us summarize what we got from your input:

the mission is about to work with a first row, till all are processed and no further first row is present, right?

A base pattern could look like this:

Thankyou @ppr and @Palaniyappan @sasi_poosarla for your time.

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