Pre-General Availability: 2024-09-02

Add a Log Action

The log action adds a message to the activity stream for a robot instance. Unlike other robot actions, the log action doesn't interact with the user interface.

You can record any message to the activity stream, but you typically record a value that the robot obtains. For instance, you might record the value from a get text action. The value could be the output of the robot or a value that the robot obtains and later updates using logic.

Note:

You must use the low-code capabilities to add this action 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 action to the robot.
    1. On the canvas, point to an action, and click +.
      A mouse cursor points to an action in the canvas and hovers over the plus sign button, which appears at the bottom of the rectangle that represents the action. A plus sign button also appears at the top of the rectangle, for adding an action after the current action.

      A menu of available actions appears.

    2. Select Log.

      A Log action appears on the canvas, and the Log panel appears.

  3. In the panel, enter a Name and Description for the action.

    The Name appears on the action in the canvas and should help you and others understand the goal of the action.

  4. In the Message field, enter the message to record in the activity stream.

    The message can include some or all of the following information:

    • Typed text
    • Variables
    • User interface element
    • Input and output properties from the trigger
    • Fields from a robot connection

    For details on how to include these values in a message, see Define the Fields of an Action.

  5. Click OK.
  6. Above the canvas, select Save.