triggers
Overview
Name | triggers |
Type | Resource |
Id | pagerduty.incident_workflows.triggers |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
_type | string | |
condition | string | A 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_url | string | a URL at which the entity is uniquely displayed in the Web app |
is_subscribed_to_all_services | boolean | Indicates that the Trigger should be associated with All Services |
permissions | object | An object detailing who can start this Trigger. Applicable only to manual Triggers. |
self | string | the API show URL at which the object is accessible |
services | array | An optional array of Services associated with this workflow. Incidents in any of the listed Services are eligible to fire this Trigger |
summary | string | A 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_type | string | |
trigger_type_name | string | Human readable name for the trigger type |
trigger_url | string | |
type | string | A 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. |
workflow | object | Workflow to start when this trigger is invoked |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_incident_workflow_trigger | SELECT | id | Retrieve an existing Incident Workflows Trigger Scoped OAuth requires: incident_workflows.read |
list_incident_workflow_triggers | SELECT | List existing Incident Workflow Triggers Scoped OAuth requires: incident_workflows.read | |
create_incident_workflow_trigger | INSERT | data__trigger | Create new Incident Workflow Trigger Scoped OAuth requires: incident_workflows.write |
delete_incident_workflow_trigger | DELETE | id | Delete an existing Incident Workflow Trigger Scoped OAuth requires: incident_workflows.write |
delete_service_from_incident_workflow_trigger | DELETE | service_id, trigger_id | Remove a an existing Service from an Incident Workflow Trigger Scoped OAuth requires: incident_workflows.write |
_get_incident_workflow_trigger | EXEC | id | Retrieve an existing Incident Workflows Trigger Scoped OAuth requires: incident_workflows.read |
_list_incident_workflow_triggers | EXEC | List existing Incident Workflow Triggers Scoped OAuth requires: incident_workflows.read | |
associate_service_to_incident_workflow_trigger | EXEC | id, data__service | Associate a Service with an existing Incident Workflow Trigger Scoped OAuth requires: incident_workflows.write |
update_incident_workflow_trigger | EXEC | id, data__trigger | Update an existing Incident Workflow Trigger Scoped OAuth requires: incident_workflows.write |