So, you can set a flag variable and then you can assign the value
- Use try catch activity and check if the activity works or fails, based on that assign the value as True or False
- Then using that, surround the try catch with a while loop giving the same boolean variable to the while as well, so that it will loop until the value is true.