Workflow Actions
Get On-Call User from a Schedule
PagerDuty Incident Management
Business
Description
Return the name and ID of an on-call user from a schedule.
Instructions
- If you have not done so, follow the instructions to Create an Incident Workflow.
- When the instructions prompt you to add actions, select this action.
- Enter the following Inputs and click Save.
- Continue following instructions to Publish the Workflow.
- When the action runs, you will see the Outputs listed below.
Inputs
| Name | Description |
|---|---|
| Schedule | Search and select your desired schedule |
Outputs
| Name | Description |
|---|---|
| On Call User ID | The User ID of the on-call user. |
| On Call User Name | The name of the on-call user. |
| 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 is populated if the action failed. |