---
sourceDocument: Australia Build workflows
sourceDocumentLink: https://www.servicenow.com/docs/r/build-workflows

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build workflows

ft:clusterId :

    - crworkflow

bundleId :

    - crworkflow

workflow :

    - Creator


---

# Log action

# Log action {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Logs a message in the Workflow Studio log table sys_flow_log.

## Roles and availability {#log-message-flow-designer__section_pwq_rb5_kcb}

Available as a Workflow Studio ServiceNow core action. Users with the flow_designer or admin role can add an action to a flow and define configuration details.

You can view the logs in the flow execution details. To learn more, see [Flow execution details](https://www.servicenow.com/docs/74QTppHjnADqEx74Gqai7w "View run-time information about an action or flow directly from the design environment, such as the current state, items run, and values produced. Open related records from embedded ServiceNow AI Platform editors or in a new tab.") and [Data pills](https://www.servicenow.com/docs/VwZBdHofPF6uIW~Ip6Jj~w "Each time you add an action to a flow, Workflow Studio adds a data pill to store its results. The data pill name indicates its sequence in the flow and its data type.").

## Fields {#log-message-flow-designer__section_hfx_rmz_rcb}

{#log-message-flow-designer__table_fzt_n55_3cb__entry__2}

| Field | Description |
|-|-|
| Log level | Level of importance of the log message. * Error * Warn * Info {#log-message-flow-designer__ul_wzf_v55_3cb} |
| Log message | Message to display in the Flow log \[sys_flow_log\] table. Enter text or drag data pills into the field. Note: The Workflow Studio design environment only supports entering 255 characters of text for a log message. The length limitation only applies to text entered directly into the input. Data pill values can exceed 255 characters in length. You can log values greater than 255 characters long by using either a data pill value or calling the [GlideSystem - log(String message, String source)](https://www.servicenow.com/docs/access?context=c_GlideSystemAPI&version=australia&pubname=australia-api-reference&ft:locale=en-US) method from a script. |
[ ]

{#log-message-flow-designer__table_fzt_n55_3cb}

## General guidelines {#log-message-flow-designer__section_o31_2d2_h2c}

Test your flow to ensure it generates useful logging information
:   Test your flow and review its execution details. Make sure that the log action stores useful data.

Use data pills to log dynamic data
:   Add one or more data pills to your Log action to store dynamically generated values. Make sure that the data pills come from actions and flow logic that have run before the Log action.

