How to stop the bot in If else conditions

Hi All,
How can i stop the bot in If-Else Condition , if any error encounters. Please help

@ppratz,

You can use the Terminate Workflow Activity. Optionally, check the below:

use should stop refrer to get transaction state of reframework.