How i can stop the proces when i had a error

hello i want to stop a process if the boolean is true and no repite again


Use Throw activity to throw the exception if the Boolean value is True. Don’t catch this exception so that process will stop it.


There are two ways to stop a bot

  1. Either we can directly use a TERMINATE WORKFLOW activity which will stop the bot
    If you are using a normal workflow like a sequence of flowchart then You can keep this activity inside the IF activity where if the Boolean is true it goes to THEN Block and terminates the workflow execution

  2. Or if you are using REFramework then use THROW activity with exception mentioned like this in property panel New Exception(“stop the bot”)

Again you can keep this inside a IF activity and Boolean is true it will go to THEM block and stops the bot

Hope this would help you resolve this


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