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
ppr
(Peter Preuss)
September 4, 2023, 7:43am
6
Bhushan_Nagaonkar:
using while condition
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
ppr
(Peter Preuss)
September 4, 2023, 9:44am
10
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:
system
(system)
Closed
September 7, 2023, 10:56am
12
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.