Log Message

The Log message building block is used to write a message to the case run log, typically as part of debugging efforts while a case is being built or maintained.

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:

Log-message

The Block Header (“Log message”)

The green input connector in the header is used to trigger the block to start executing.

The green output connector in the header triggers when the message has been written to the case run log.

The title of the block (“Log message”) can be changed by double-clicking on it and typing in a new title.

Message

Define a message to be written to the case run log. Can contain tokens for field values (added below). Right-click and select “Insert token” to insert one or more field tokens.

Text fields

Add any number of fields that can contain dynamic content and be used as tokens in the message.

Example

The following example shows how the Log message block can be used to write debugging messages to the case run log:

Example-11

Find text block is used to find the word “automation” on the screen. The Position found value is passed into an added Text field in the Log message block, which is used as a token in the message itself.

 

Updated February 2nd 2017.