Use Log to Instance Log to add a plain-text message to the activity history of the current workflow instance. The message can contain multiple lines and values from scalar workflow or context variables.
Step Library: Workflow > Instance Management
When to use this step
Use this step when you want to:
- record a checkpoint or diagnostic message in a workflow instance;
- include current workflow values in the instance activity history;
- make an execution detail visible to people who can inspect the instance.
Common examples include:
- recording that a business checkpoint was reached;
- showing which customer, order, or request value was used at that point; or
- adding diagnostic context that helps someone understand a later failure.
Use Create Text instead when following steps must reuse the constructed text. Log to Instance Log does not expose the rendered message as a step output.
Before you begin
This step does not require a connection. To inspect the recorded message, you need permission to view the workflow instance.
Do not include passwords, access tokens, or other secrets. The rendered message is persisted with the instance activity and is visible to users who can inspect that instance.
Configure the step
- Add Log to Instance Log from Workflow > Instance Management.
- Select the step to open its configuration panel.
- Under General, enter the required Message.
- Optionally insert Text, Number, Boolean, or Date variables into the message.
- Save or publish the workflow.
Settings
| Setting | Required | Accepted values | Visible when | Description |
|---|---|---|---|---|
| Message | Yes | Multiline text and embedded Text, Number, Boolean, or Date variables | Always | Message to persist in the instance activity. The default is empty. It must contain at least one text character or variable; whitespace counts as text. Missing variable references are invalid. There is no step-specific character-count limit. |
The variable picker does not offer Object, File, or Collection variables. Select a compatible scalar property or convert the value to Text before using it in the message.
Data and outputs
Workflow variable effects
This step does not modify workflow variables.
Variables embedded in Message are read when the step starts. Their values remain available unchanged to following or nested steps according to their existing scope.
Step outputs
This step does not expose step outputs.
The rendered message is stored on the instance activity only. Following steps cannot reference it as a previous-step output.
Runtime behavior
Execution and completion
When the step starts, Flowifier:
- resolves each embedded variable from the current workflow execution context;
- converts Text, Number, and Boolean values to text and converts Date values to an ISO 8601 UTC timestamp;
- joins message lines with line breaks;
- persists the rendered message on the step's instance activity; and
- marks the activity as Finished before continuing with the next step.
If a valid variable-only message resolves to an empty string, the step still finishes successfully. The Instance Activities row then has no message details to expand.
Each execution writes only to its own instance activity. Repeated steps and concurrent instances retain their configured order and do not mix their messages. The step does not call an external provider or create an external side effect.
Branches and child steps
This step does not have branches or child steps.
It can run inside a branch, loop, group, or parallel path. Its message remains attached to that individual step execution and it does not create a value for child or following steps.
Failure, retry and resume behavior
This step does not suspend execution or perform automatic retries.
If a referenced root variable is unavailable at runtime, the step fails and the failure follows the workflow's normal error propagation. A missing or null scalar property of an available structured variable contributes empty text instead.
If the instance is cancelled before this step starts, the step does not run. A message already persisted by a completed step remains in the instance activity history. The step does not cancel or terminate the workflow by itself and has no resume behavior.
Errors and limits
| Situation | Result | Resolution |
|---|---|---|
| Message is empty | The Designer shows Message must contain text or a variable, and the workflow cannot be published. | Enter text or insert a supported variable. |
| Message contains only whitespace | The Designer accepts the message, but the rendered activity can appear blank. | Enter meaningful visible text if people must be able to read the activity. |
| A referenced variable was deleted | The Designer reports an invalid variable reference, and the workflow cannot be published. | Remove the invalid reference or select an existing compatible variable. |
| An Object, File, or Collection variable is required | The variable is not available for selection in Message. | Select a Text, Number, Boolean, or Date property, or convert the value to Text in an earlier step. |
| A referenced root variable is unavailable at runtime | The step fails without writing the configured message. | Ensure the variable exists in that execution path, then run a corrected published workflow. |
A selected scalar property is missing or null
|
The property contributes empty text and the step continues. | Ensure the property has a value when visible text is required. |
| The complete message evaluates to an empty string | The step finishes, but the Instance Activities row has no message details to display. | Provide non-empty text or ensure an embedded variable has a non-empty value. |
This step has no additional limits beyond the general workflow limits.
Example
Record a review checkpoint
Goal: Record the request identifier, approval state, and workflow trigger time in the instance activity history.
Configuration:
- Message:
Review checkpoint Request: [Request ID] Approved: [Approved] Triggered at: [Triggered at]
Result: When the step runs, Flowifier replaces the Text, Boolean, and Date variables with their current values, preserves the line breaks, and stores the rendered message on the finished instance activity. The variables themselves are unchanged.
Related information
- Create Text — construct multiline Text that following steps can reference.
- Set Instance Name — identify the current instance with a variable-based name.
- Workflow instances — inspect instance status and activity history.
Comments
0 comments
Please sign in to leave a comment.