How to end process after a do while

Hello everyone,

i am doing this checking of status every 5 seconds by comparing 2 screens until it matches. however, it keep executing for god knows how long. so i was wondering how can i stop the process regardless if it matches. i just want to end it. I was told to create a time variable to keep track of loops? please advise :slight_smile:


Can you share that loop here, so that we can understand what you actually written.


you can use "Break " statement, when condition satisfies… but can you tell me what is the value of “Y”

1 Like

Thanks for the reply. I’ll try to use break. y is the output for text exists activity.

  • You can use Retry Scope activity.
  • Retry will process the scope for specified number of retries until the condition is met.