End session with check app state

Hello

Is there a way to stop the run if I used “Check app state” activity and the flow goes to “Target doe’s not appears” ?
I saw I can insert “break” activity but only in a loop and this scenario is not in a loop.

Hi @mironb

Yes, it is possible to end a session with the Check App State activity.

You can use the “Check App State” activity to store the value in a boolean variable, just like the “Element Exists” activity does, and then use “Is True” in the condition of the Retry Scope.

Check out the thread

Regards
Gokul

Hi @Gokul001

store the value in a boolean variable - Where I need to store it ?
““Is True” in the condition of the Retry Scope.” Can you explain how to implement ?
Sorry I am new in the UiPath
Thanks

@mironb

Please try using terminate workflow activity in the doesnot appear side.that would stop whole of the execution

Cheers

@Anil_G
Thank you again :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.