balkishan
(Balkishan Singh)
December 15, 2019, 10:16am
1
Hi, I am facing an issue in Do While Loop. If you see my condition.
Now you see it’s continuing in the loop even the condition doesn’t match.
This is strange even the currentRowCount is greater than totalRowCount.
It should come out from the loop but it is still iterating in the loop.
@Palaniyappan @lakshman can you see what is the issue. It should break once the condition got fail, but it’s still continue the loop.
Hi
We are missing with some variable assignment with value
Can I have a view on the do while loop a screenshot if possible
Cheers @balkishan
1 Like
lakshman
(Ganta lakshman)
December 15, 2019, 10:19am
3
@balkishan
Is the currentRowsCount and totalRowsCount are variables of type Integer or not ?
1 Like
balkishan
(Balkishan Singh)
December 15, 2019, 10:20am
4
Please see
Don’t get confuse with the While loop which I put inside Do While.
1 Like
balkishan
(Balkishan Singh)
December 15, 2019, 10:20am
5
Yes both are Int32 and Global variable, That’s way they increment bro.
1 Like
Great
So what is inside the while loop
Are we using this variable count and those two variables inside the while loop
Cheers @balkishan
1 Like
balkishan
(Balkishan Singh)
December 15, 2019, 10:23am
7
Yes, I am infringement the currentRowCount on every iteration of While loop inside the Do While.
totalRowCount is my fixed. Once extract the data.
lakshman
(Ganta lakshman)
December 15, 2019, 10:24am
8
@balkishan
Show me screenshot of data inside While loop also.
Yah what is the process inside the while loo
@balkishan
1 Like
balkishan
(Balkishan Singh)
December 15, 2019, 10:32am
10
@Palaniyappan @lakshman
in the while Loop, Iterate each page of the portal 10 times. Nothing but a click on the tag!.
There is no issue with the While Loop but strange is why the Do While is not breaking after the condition is not satisfied.
1 Like
Palaniyappan
(Palaniyappan P )
December 15, 2019, 10:40am
11
We are doing a assign activity with CurrentRowsCount inside this while loop na
May I know what is the value part of that assign activity
Cheers @balkishan
1 Like
lakshman
(Ganta lakshman)
December 15, 2019, 10:54am
12
@balkishan
Here you used While loop inside Do-While loop. First it will perform steps mentioned in the While loop and it will keep continue until mentioned condition got failed. And then only it will come out from this loop and check condition mentioned in Do-While Loop activity.
If Count value become 13 then it will come out of this loop here.
1 Like
balkishan
(Balkishan Singh)
December 15, 2019, 11:22am
13
Before Do While Loop I have assigned this
And inside the While Loop I am increment this by 1.
here is
1 Like
system
(system)
Closed
December 18, 2019, 11:28am
15
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.