Create an action in Workflow Studio

  • Release version: Australia
  • Updated March 12, 2026
  • 3 minutes to read
  • Create a reusable component to automate one or more steps of a process.

    Before you begin

    • Role required: flow_designer, action_designer or admin

    About this task

    Action designers should know the application table structure and be aware of any existing business logic associated with the target tables of an action. Be sure to disable any conflicting business rules or workflows before creating an action.

    Creating a custom application to contain your Workflow Studio content enables you to deploy it using the application repository or the ServiceNow Store.

    Procedure

    1. Navigate to All > Process Automation > Flow Designer.
    2. Select New > Action.
    3. Fill in the Action Properties and select Submit.
      Field Description
      Action name Enter a unique name for your action.
      Description Description of the action.
      Application Application scope of the action.
      Domain Domain scope of the action. For more information about domain separation, see Domain separation explained.
      Additional properties
      Accessible From Accessible from all application scoped or only within the specified application scope.
      Category Defined category within the application scope for an action. Beginning with the Xanadu release, you can create a custom category to organize your actions.
      Protection Select whether the action is read-only. You can only select a value when you create the action in an application scope you own. The default value is None.
      Action annotation Help text that appears under the action title in Workflow Studio to help action authors understand what the action does when used in a flow.
      An empty action opens.
    4. Define action inputs to make data available to the action steps and outputs.
      1. Select + Create Input and complete the fields.
        Field Description
        Name Name of the input. This value is used as the name of the data pill in the right-hand pane.
        Note:
        Action input names can't include any of the following reserved system names:
        • sys_id
        • sys_created_by
        • sys_created_on
        • sys_updated_on
        • sys_updated_by
        • sys_mod_count
        Type Data type of the input. For supported data types, see Workflow Studio input and output data variables.
        Reference Table Reference table for the data type. Only required for the following data types:
        • Records
        • Reference
        Advanced options

        Inputs provide advanced options based on their data type. All inputs have advanced options to add a hint or provide a default value. Use advanced options to guide flow designers through adding and configuring an action to a flow. For example, create a choice input to provide flow designers with a pre-defined list of configuration options to choose from. For more information about the configuration options available to particular data types, see field types.

        Select Open icon to view the advanced options and define values.

        Inputs are represented as data pills in the right-hand pane. You can add inputs to steps and outputs in the flow by dragging and dropping data pills.
    5. Add an action step to perform an operation on the action inputs.
      1. Select the + underneath Inputs in the Action Outline.
      2. Select the step you would like to perform.
      3. Complete the fields in the step.
    6. For If this step fails, select the action error evaluation behavior you want the step to take.
      Option Description
      Stop the action and go to error evaluation Stop running the action at the current step and go to error evaluation. The Step Status object contains the error information returned by the step.
      Don't stop the action and go to the next step Ignore the failure and continue running the action from the next step. The Step Status object contains the error information returned by the step. Action error evaluation runs regardless of whether the action continues running.
    7. Add action outputs to make data available to a flow.
      1. Select + Create Outputs and complete the fields.
        Field Description
        Name Name of the output. This value is the name of the data pill in the right-hand pane when the action is added to a flow.
        Note:
        Action output names can't include any of the following reserved system names:
        • sys_id
        • sys_created_by
        • sys_created_on
        • sys_updated_on
        • sys_updated_by
        • sys_mod_count
        Value Data used previously in the action either in a step or input. Adding a variable to the output makes the value available to the flow.
    8. Select Save.
      Workflow Studio saves a draft of the action.

    What to do next

    Test the action until it is ready to be published. See related flows for action to verify that action changes will function in the flows that use the action.
    Note:
    By default, the system only runs published actions.