Write Log
Description
This activity writes messages at a specified log level and displays them in the Process Instance logs tab.
Common settings
Use Process Data to bind supported inputs to workflow values or upstream outputs. See Common Activity Features for shared execution, error-handling, and output-persistence settings. Availability depends on the activity.
Design-Time Configuration
Display Text
Specify the activity name that shows in your process.
Message
Specify the message you want to log. Click on the drop-down to choose the following options to write an expression.
| Options | Description |
|---|---|
| Default | When you select this option, you can specify the log message directly. |
| JavaScript | Specify log message using JavaScript expression. |
| Liquid | Specify log message using a Liquid expression. |
Level
Specify the severity level of the message to log.
Execution settings
Configure Wait All Incoming when execution paths converge, and On Error for failure handling. Select Inherit where available to use the workflow-level error policy.
Example: Log an outcome
Set Level to Information and Message to a short outcome such as Invoice processed. For a dynamic message, choose Liquid and insert the invoice identifier from Process Data. Run the workflow and inspect the process instance logs at a level that includes Information messages.