Building actions
Workflow Studio is the default ServiceNow AI Platform process automation builder used to create actions. Workflow Studio replaces the Workflow Editor.
Core actions
ServiceNow Core actions that come with your instance cannot be viewed or edited from the Workflow Studio interface. Some applications include spokes which include application-specific actions. Spoke actions are typically read-only but can be copied and customized.
Custom actions
Unlike core actions where flow designers must manually configure flow logic, custom actions always use the same configuration when added to a flow. If your flow designers often use an action with the same configuration, you might create a reusable action.
Action design environment
More Actions
Click the More actions icon () to access additional options for the action.
- Copy action
- Create a copy of the open action in an application you specify.
- Configurations
- Enable or disable the Show inline script toggle option.
- Code Snippet
- Generate a code snippet for the action.
- Manage security
- Enable or disable the Callable by Client API option.
- Manage natural language title
- Create or edit an action title with styled or dynamic text. For more information, see Manage natural language titles.
Testing actions
After adding inputs and action steps, users with the action_designer or admin role can test an action. To test an action, provide the required inputs. Action designers should always test actions on non-production instances containing relevant demonstration data because testing an action can make significant changes to records on your instance.
Roles
To create custom actions, you must have the action_designer or admin role.
Action status
Every action has an Action Status data pill in the Data pane. This object data pill contains the current runtime details about the action. The Action Status object consists of a code and message.
- Action Status > Code
- Integer data pill containing the code returned by the first matching error condition or the last step run. You can return your own code when you create a custom error condition. See Action error evaluation.
- Action Status > Message
- String data pill containing the message produced by a matching error condition or the last step run. You can return your own message when you create a custom error condition. See Action error evaluation.