Blocks & Flow EditorCommon

print

Output debug data, write to task logs, and report process checkpoints to Orchestrator

The print block inspects flow data during execution. Use it to view values in the debug sidebar, write entries to the task log file, and mark process checkpoints that are reported to Bot Management Console while a task is running on an agent.

Bot Studio print block configuration showing Output, Check Point, write to log file, and process checkpoint options

Configuration

FieldDescription
OutputMessage property to display or log. Default is msg.payload. You can also output the complete msg object or use a JSONata expression.
Check PointUser-defined checkpoint label (up to 60 characters). Describes the milestone reached in the flow (e.g. Invoice downloaded, Login complete). Supports dynamic values from the message.
write to log fileWhen enabled, writes the checkpoint message to the task run log file on the agent. Uses the Check Point value; if empty, falls back to msg.payload (truncated to 60 characters).
process checkpointWhen enabled, sends the checkpoint to Bot Management Console for the currently running task. Orchestrator records progress so you can track where the agent is in the flow. Uses the same message as Check Point (or msg.payload if empty).
NameOptional display label shown on the block in the canvas (e.g. print 1).

How Check Point Works

The Check Point field is the label for a milestone in your automation. When the flow reaches a print block, that label identifies what just completed.

You can enter a fixed string:

User login successful

Or reference message data for dynamic labels:

Processing order {{msg.orderId}}

If Check Point is left empty, the block uses msg.payload as the checkpoint message (up to 60 characters).

write to log file

Enable write to log file to persist checkpoint messages to the agent's task execution log. This is useful for:

  • Auditing what happened during a run
  • Troubleshooting failures after execution completes
  • Keeping a local record independent of Orchestrator

The log entry uses your Check Point text, or msg.payload when Check Point is blank.

process checkpoint

Enable process checkpoint to report progress to Bot Management Console while the task runs on an agent. Orchestrator associates the checkpoint with the active task run so you can:

  • Monitor how far an unattended agent has progressed
  • Identify the last successful step before a failure
  • Track execution milestones in Orchestrator logs

Notes:

  • process checkpoint applies when the flow runs on a connected agent with an active task run. It has no effect during local Studio testing without an agent.
  • The checkpoint message is limited to 60 characters.
  • You can enable write to log file and process checkpoint together — the same milestone is written locally and sent to Orchestrator.

Output Options

Output settingWhat is shown / logged
msg.payloadThe main data property of the incoming message
Complete msg objectThe entire message object
JSONata expressionA computed value from the message

Output data also appears in the Studio debug sidebar when testing flows locally.

Example Setup

GoalConfiguration
Debug a value in StudioOutput: msg.payload only
Log a step to the agent log fileCheck Point: Excel file saved + write to log file: enabled
Report progress to OrchestratorCheck Point: Payment submitted + process checkpoint: enabled
Full audit trailEnable both write to log file and process checkpoint

Use Cases

  • Verify data at a specific point in the flow during development
  • Mark business milestones (login, data extract, file upload) for Orchestrator monitoring
  • Build an execution audit trail in task log files
  • Trace execution path through complex multi-step automations