Workflow Actions
Get Status Updates for an Incident
PagerDuty Incident Management
Business
Description
Retrieves all status updates for a specified incident, including detailed information about the latest update.
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
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. Refer to the Field References article for more information.
| Name | Description |
|---|---|
| Incident ID | Incident ID to get alerts for. Defaults to {{incident.id}}. |
Outputs
| Name | Description |
|---|---|
| Number of status updates | The incident's number of status updates |
| List of status updates | The JSON array of the incident's status updates |
| Most recent status update ID | The ID of the incident's most recent status update |
| Most recent status update time | The datetime of the incident's most recent status update |
| Most recent status update message | The message of the incident's most recent status update |
| Most recent status update sender ID | The user ID of who sent the incident's most recent status update. Null if not sent by a user. |
| Most recent status update sender name | The name of the user who sent the incident's most recent status update. Null if not sent by a 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 populates if the action failed. |