{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":4246,"path":"build-workflows/workflow-studio/log-message-action-designer.md","title":"Log step","bundle":null,"doc_type":null,"release":"australia","body":"\n# Log step\n\nLogs a message in the Workflow Studio log table sys\\_flow\\_log.\n\n## Roles and availability\n\nAvailable as an Workflow Studio action step. Users with the action\\_designer role can create a custom action with one or more action steps.\n\n## Fields\n\n<table id=\"table_fzt_n55_3cb\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nLog level\n\n</td><td>\n\nLevel of importance of the log message.-   Error\n-   Warn\n-   Info\n\n</td></tr><tr><td>\n\nLog message\n\n</td><td>\n\nMessage 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/api-reference/server-api-reference/c_GlideSystemAPI.md) method from a script.\n\n</td></tr></tbody>\n</table>## Action error evaluation\n\n-   **If this step fails**\n\n    Data type: **Choice**\n\n    Option to continue running the next step or go to error evaluation. To use the step status code or message for a custom action error condition, see [Action error evaluation](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/action-error-evaluation.md).\n\n\n**Parent Topic:**[Workflow Studio steps](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/steps.md)\n\n"}}