Skip to main content

triggers

Overview

Nametriggers
TypeResource
Idpagerduty.incident_workflows.triggers

Fields

NameDatatypeDescription
idstring
_typestring
conditionstringA PCL condition string.

If specified, the trigger will execute when the condition is met on an incident.

If unspecified, the trigger will execute on incident creation.

Required if trigger_type is “conditional”, not allowed if trigger_type is “manual”.
html_urlstringa URL at which the entity is uniquely displayed in the Web app
is_subscribed_to_all_servicesbooleanIndicates that the Trigger should be associated with All Services
permissionsobjectAn object detailing who can start this Trigger. Applicable only to manual Triggers.
selfstringthe API show URL at which the object is accessible
servicesarrayAn optional array of Services associated with this workflow. Incidents in any of the listed Services are eligible to fire this Trigger
summarystringA short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
trigger_typestring
trigger_type_namestringHuman readable name for the trigger type
trigger_urlstring
typestringA string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference.
workflowobjectWorkflow to start when this trigger is invoked

Methods

NameAccessible byRequired ParamsDescription
get_incident_workflow_triggerSELECTidRetrieve an existing Incident Workflows Trigger

Scoped OAuth requires: incident_workflows.read
list_incident_workflow_triggersSELECTList existing Incident Workflow Triggers

Scoped OAuth requires: incident_workflows.read
create_incident_workflow_triggerINSERTdata__triggerCreate new Incident Workflow Trigger

Scoped OAuth requires: incident_workflows.write
delete_incident_workflow_triggerDELETEidDelete an existing Incident Workflow Trigger

Scoped OAuth requires: incident_workflows.write
delete_service_from_incident_workflow_triggerDELETEservice_id, trigger_idRemove a an existing Service from an Incident Workflow Trigger

Scoped OAuth requires: incident_workflows.write
_get_incident_workflow_triggerEXECidRetrieve an existing Incident Workflows Trigger

Scoped OAuth requires: incident_workflows.read
_list_incident_workflow_triggersEXECList existing Incident Workflow Triggers

Scoped OAuth requires: incident_workflows.read
associate_service_to_incident_workflow_triggerEXECid, data__serviceAssociate a Service with an existing Incident Workflow Trigger

Scoped OAuth requires: incident_workflows.write
update_incident_workflow_triggerEXECid, data__triggerUpdate an existing Incident Workflow Trigger

Scoped OAuth requires: incident_workflows.write