Hello, all! This would be my first time posting here and I wanted to seek the help of the community. I am starting on a project and I am facing an issue currently that I cannot figure out.
This is within a For Each Row sequence:
Read “ClientNum” from SQL Table
Type ClientNum onto web page
Click “document” tab" under Client’s account
Verify if a particular document exists
If it does exists, great, log as success and move on to the next
And here is where I am getting hung up or making things more complicated
6. If the document is not present, I want to go back to the beginning of that iteration, go through the same steps again and check to see if that document is present.
How would I, based on the if condition, go back to the beginning of the loop and type in the same iteration and go through the same steps to check it a max number of 3 times? I want to check it a max number of 3 times before failing out and then moving onto the next iteration.
Unless I am misunderstanding, you could do a For loop with an if statement in it, if the document exists use a variable to say “Success” then a Break activity. after the for loop check for the variable you used to say “Success” and if it’s blank then error
Yes, a Retry Scope may work in this instance. Make sure and put in the number of retries and retry interval (can use 00:00:01 if wanted)(which is one second)
Hi @some_guy , You can check for max 3 times fails by adding "Do While " inside you for each loop. Create a Count variable and increase by 1 count = count+1 on every fails and when Count > 3, you can stop.