Log Message

The Log message block writes a text message to the case run log. It is typically used during debugging or maintenance to record checkpoints, variable values, or other contextual information while a case is running.aintained.

See the Drive data with Excel lesson for an example of how to use the Log message block.

Fully expanded, the Log Message block shows the following properties:

image-20260112-084855.png

Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Log message onto the canvas.

  2. Connect the block in the flow and set the Message text (required). Optionally add Text fields and insert them as tokens into the message.

  3. Run the flow when it’s ready.

Building block parameters

Parameters
  • Block header: Shows the current name of the Log message block. You can rename it at any time by double-clicking the header and typing a new title to keep flows readable and organized.

  • Message: Defines the text that will be written to the case run log when the block executes. This field can contain both static text and dynamic values inserted as tokens.

    • Right-click inside the field and select Insert token to insert one or more tokens from Text fields or other available sources.

  • Text fields: Allows you to add any number of custom key–value fields that hold dynamic content.

    • Click Add field to create a field and assign it a value (for example, a position, ID, or status).

    • These fields can then be inserted into Message as tokens via Insert token, so the log entry can include run-time data instead of only static text.

Resources

Topic

Description

Flows FAQ

Common questions about creating, running, and managing flows in Leapwork.

Flows Troubleshooting

Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.