Pre-General Availability: 2024-09-02

Add a Stop

Most of the time, you don't need to tell a robot to stop running because it stops when it runs out of actions. However, when you need to add an explicit stop to a robot, add the stop logic, which ends a robot's work.

Sample Use Case

You typically add a stop within the Otherwise condition of a switch condition. For example, consider a robot that evaluates a condition. If the condition is true, the robot completes the actions in the condition and then completes the remaining actions in the robot. If the condition is false, the robot stops running. Use the stop logic to tell the robot to stop running.

Add a Stop

Note:

You must use the low-code capabilities to add this logic to a robot. Keep reading for step-by-step instructions.
  1. Open the robot to edit.
    1. In the navigation pane, select Projects.
    2. Select the project name.
    3. In the left toolbar, select Robot Robot.
    4. In the Robots box, select the robot to open.

      The canvas appears.

  2. Add the logic to the robot.
    1. On the canvas, point to an action, and click +.

      A menu of available actions appears.

    2. Select the Flow control tab.
    3. In the list, select stop.

      A stop action appears on the canvas.

      A stop action appears within the Otherwise condition in a switch statement

  3. Click OK.
  4. Above the canvas, select Save.