Log Message workflow activity
reference australia Updated Mar 12, 2026 1 min read r_LogMessageActivity.md
The Log Message activity writes a message to the workflow log.
Use this activity to add entries to the workflow's log for debugging or tracing purposes.
Input variables
Input variables determine the initial behavior of the activity.
| Field | Description |
|---|---|
| Message | The message to log. This variable can be a string or a JavaScript expression that evaluates to a string. |
29 lines · 1.0 KB
--- title: Log Message workflow activity description: The Log Message activity writes a message to the workflow log. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/workflow-activities/r\_LogMessageActivity.html release: australia product: Workflow Activities classification: workflow-activities topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Utility workflow activities, Workflow activities reference, Workflow activities, Classic Workflow, ServiceNow AI Platform Additional Capabilities, Extend ServiceNow AI Platform capabilities] --- # Log Message workflow activity The **Log Message** activity writes a message to the workflow log. Use this activity to add entries to the workflow's log for debugging or tracing purposes. ## Input variables Input variables determine the initial behavior of the activity. |Field|Description| |-----|-----------| |Message|The message to log. This variable can be a string or a JavaScript expression that evaluates to a string.|
| title | Log Message workflow activity |
| description | The Log Message activity writes a message to the workflow log. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/servicenow-platform/workflow-activities/r\_LogMessageActivity.html |
| release | australia |
| product | Workflow Activities |
| classification | workflow-activities |
| topic_type | reference |
| last_updated | 2026-03-12 |
| reading_time_minutes | 1 |
| breadcrumb | Utility workflow activitiesWorkflow activities referenceWorkflow activitiesClassic WorkflowServiceNow AI Platform Additional CapabilitiesExtend ServiceNow AI Platform capabilities |