Get Service Details
Availability
This workflow action is available on our Enterprise plan for Incident Management. Please contact our Sales Team to upgrade to an account with this action.
Description
Returns details about a Service, including the Escalation Policy, collaboration channel, and more.
Instructions
- If you have not done so already, please follow our instructions to Create an Incident Workflow.
- When you are prompted to add actions , select this action.
- Enter the following Inputs and then click Save. Continue following instructions to Publish the Workflow. When the action runs, you will see the Outputs listed below.
Inputs
Field References
Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter
{{
, and select relevant fields. Please see our Field References article for more information.
Name | Description |
---|---|
Service ID | The ID of the service whose details will be returned |
Outputs
Name | Description |
---|---|
Details | The JSON-formatted details of the service. Note: This JSON will exactly match the value of the service property returned from the endpoint linked below. |
Name | The name of the service |
HTML URL | The URL of the service in the PagerDuty web app |
Description | Description of the service |
Escalation Policy ID | The ID of the Escalation Policy associated with the service Teams |
Teams | The array of Teams associated with the service |
Support Hours | The Support Hours associated with the service |
On-call Now User IDs | The IDs of the users currently on-call for the service |
On-call Now User Names | The names of the users currently on-call for the service |
Communication Channel ID | The ID of the communication channel associated with the service |
Communication Channel Name | The name of the communication channel associated with the service |
Result | Value that shows if the action was successful or not. Either "Success" or "Failed." |
Result Summary | Brief description of what the action did or if it failed |
Error | Brief description that populates if the action failed |
PagerDuty API Endpoint
Endpoint used:
Updated 23 days ago