Delete Task

Delete a Task or a Catalog Task in ServiceNow.

Options

Field Definition Type Required

Task Type

Choose one of the task types to delete:

  • Task: The base task type in ServiceNow. Deletes a task record.

  • Catalog Task: A subtype of task specific to the Service Catalog. Deletes an sc_task record.

Dropdown

TRUE

Input

Field Definition Type Required

Task

System ID

The unique record identifier (sys_id) for the task.

Text

TRUE

Output

Field Definition Type

Response

Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 204 status code indicates success where the specified Task is deleted.

  • A 400 or 500 series of status code errors indicates that there was a problem with the HTTP request. The Task wasn't successfully deleted.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

ServiceNow connector

Workflow elements

Guidance for ServiceNow connector

ServiceNow API reference