Skip to main content

instances

Creates, updates, deletes, gets or lists an instances resource.

Overview

Nameinstances
TypeResource
Idpagerduty.incident_workflows.instances

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
createinsertid, incident_workflow_instanceStart an Instance of an Incident Workflow. Sometimes referred to as "triggering a workflow on an incident."<br /><br />An Incident Workflow is a sequence of configurable Steps and associated Triggers that can execute automated Actions for a given Incident.<br /><br />Scoped OAuth requires: incident_workflows:instances.write<br />

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe ID of the resource.

INSERT examples

Start an Instance of an Incident Workflow. Sometimes referred to as "triggering a workflow on an incident."<br /><br />An Incident Workflow is a sequence of configurable Steps and associated Triggers that can execute automated Actions for a given Incident.<br /><br />Scoped OAuth requires: incident_workflows:instances.write<br />

INSERT INTO pagerduty.incident_workflows.instances (
incident_workflow_instance,
id
)
SELECT
'{{ incident_workflow_instance }}' /* required */,
'{{ id }}'
RETURNING
incident_workflow_instance
;