Create Task activity

  • Release version: Xanadu
  • Updated August 1, 2024
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Create Task activity

    The Create Task activity in ServiceNow enables you to create a task record based on previously gathered or generated data within a playbook. This activity is accessible to users with roles such as admin, playbook.admin, or pdauthor, allowing them to add and configure it within a playbook to automate task creation and management.

    Show full answer Show less

    Inputs

    You configure this activity by setting various inputs through the activity properties panel. Key inputs include:

    • Label and Description: Define the title and informational text for the activity and playbook card.
    • Run Condition: Set conditional logic determining when the activity or stage runs, based on prior activity data.
    • Start Rule: Specify when the stage or activity begins, either immediately at playbook or stage start or after other stages/activities complete.
    • Start with delay: Optionally delay the start of the activity or stage.
    • Assigned To: Assign a specific user responsible for completing the created task.
    • Short Description: Provide a summary description of the task to be completed.
    • Wait for user input: Control whether the playbook pauses until a user manually completes or skips the activity (editable by playbook.admin role users only).

    Advanced inputs allow further refinement, such as setting the assignment group, specifying the exact task table for creation, defining field values for the new task, listing fields to show after creation, and choosing whether to pause the playbook until the created task is completed.

    Outputs

    • Table Name: Provides the name of the table where the new task record is created.
    • Record: Supplies a reference to the created task record, enabling subsequent activities to access and use this data.

    Practical Use

    This activity streamlines task creation within playbooks, enabling automated task assignment, tracking, and control over the playbook flow based on task completion or user interaction. It supports clarity in task ownership and conditional execution, helping ServiceNow customers automate and manage their workflows efficiently.

    Create a task record from previously gathered or generated data.

    Roles and availability

    This activity is available as a common activity. Users with the admin, playbook.admin, or pd_author can add this activity to a playbook.

    Inputs

    Open the activity properties panel and configure your activity to add values for the following inputs. If the input value varies, use the pill-picker to show where to get the value. To learn more about the pill-picker, see Dot-walking examples.
    Input Type Description
    Label String Title to display as activity and playbook card.
    Description String Information to display about activity usage or outcome.
    Run condition Condition Builder Conditions that must be met to run an activity or stage. You can use data from prior activities to build conditions.
    Note:
    Show additional options to see this field.
    Start Rule Choice Under Schedule > Start Rule, select a start rule for when your stage should start running:
    • When process starts: Your stage starts running as soon as the playbook starts.
    • After specific stages: Your stage starts running after specified stage(s) have finished running.
    Under Schedule > Start Rule, select a start rule for when your activity should start running:
    • When stage starts: Your activity starts running as soon as its stage starts running. Your stage starts running when your playbook is triggered.
    • After specific activities: Your activity starts running after specified activities have finished running.
    Start with delay True/False Option to wait for a duration of time before running an activity or stage. When enabled, this input displays the Start with delay input properties.
    Note:
    Show additional options to see this field.
    Assigned To Reference.User [sys_user] User responsible for completing the task associated with the activity.
    Note:
    Show additional options to see this field.
    Short Description String Summary of the task to complete.
    Wait for user input Choice Option to pause the playbook until the end user manually completes or skips the activity. Only users with the playbook.admin role can edit this field. By default, the activity waits for user action or data before it completes.

    Advanced inputs

    After configuring the required inputs for your activity, you can also choose to configure additional inputs. In the side panel, select Show additional options to display these advanced inputs. For more information, see Activity experience.
    Input Type Description
    Assignment Group for this Process Step Reference.Group [sys_user_group] Assignment group allowed to perform this playbook activity. If you don't set any values for Assignment Group or Assigned To, any user can read and edit the collected data. The Assignment group and Assigned to fields limit who has access to do so. To specify only individual users, use the Assigned To field. The same users do not need to be specified in both fields.
    Note:
    By default, these fields are mapped to the Assignment Group and Assigned To fields of the trigger record. This means that users assigned to work on the parent record have access to submit, view and edit the collected data by default.
    Assigned to this Process Step Reference.User [sys_user] User allowed to perform this playbook activity. If you don't set any values for Assignment Group or Assigned To, any user can read and edit the collected data. The Assignment group and Assigned to fields limit who has access to do so. To specify only individual users, use the Assigned To field. The same users do not need to be specified in both fields.
    Note:
    By default, these fields are mapped to the Assignment Group and Assigned To fields of the trigger record. This means that users assigned to work on the parent record have access to submit, view and edit the collected data by default.
    Task Table Table Name Name of the task table extension in which you want to create a task.
    Add Field Template Value Field values to assign when creating the task record.
    Fields to show after creation String Comma-separated list of fields to display for a created record.
    Wait for Task completion True/False Pause the playbook until the created Task record is complete.

    Outputs

    These outputs can provide data to other activities in your playbook. You can access this data as activity inputs when you configure your activity:
    Output Type Description
    Table Table Name Table containing new record.
    Record Reference.Task[task] Reference to record created.