Create Task action
-
- UpdatedJun 13, 2024
- 2 minutes to read
- Washington DC
- Flow Designer
Create a task record in an extension of the Task table. After you choose the task table, you can dynamically select the fields to configure the action. Defining the Parent field associates the task to a parent record.
Roles and availability
Available as a Flow Designer ServiceNow core action. Users with the flow_designer or admin role can add an action to a flow and define configuration details.
Inputs
Provide a value for each input that your flow needs. To add dynamic values, you can also drag and drop pills from the Data panel or select them from the pill picker.
- Table
- Data type: Table Name
Extension of the Task table in which to create a record. For example, Catalog Task [sc_task] or Incident Task [incident_task].
- Field Values
- Data type: Template Values
Field values to set for the record. For example, to set the short description to a certain value, select Short description and set the desired value.
- Wait
- Data type: True/False
Flag indicating whether to pause the flow until the Task record is no longer active. You can add a wait condition by dragging-and-dropping a True/False data pill into this input. The flow only waits for the Task record to complete when the condition field is true.
Outputs
These outputs appear in the Data panel. You can use them as inputs elsewhere in your flow.
- Table
- Data type: Table Name
Table where the Task record was created.
- Task
- Data type: Record
Reference to the Task record created.
Example: Create an incident task from an incident
In this example, a flow starts when a high priority network incident is created. The flow creates an Incident Task record where the Parent field is set to the trigger incident, the Short Description inherits the incident short description, and the Assignment group is set to Network. Since there are no more actions in the flow, there's no need to select the Wait option to pause the flow until the Incident Task is complete.