The Request Approval action for
Workflows adds a manual approval step to your workflow.
Use this action when you require manual confirmation or intervention before proceeding to the next task.
The action sends approval requests by email from the email address no-reply@dynatrace.com to selected users or groups and pauses workflow execution until approved, declined, or timed out.
Approved requests succeed, while declined or timed-out requests fail the workflow.
Approval details are available in the Execution monitor.
The Request Approval task, which utilizes the Request Approval action, follows a distinct state flow compared to other tasks and actions.
Once the conditions for running the task are fulfilled, the task can be in one of the following possible states.
Running execution state: it sends the approval requests via email.
Waiting for approval execution state: once the approval requests are successfully sent, the task switches to this state. It remains in this state until someone either approves, declines, or the task timeout is reached. Task timeout for approval tasks is 24 hours, as opposed to the default task timeout of one hour.
Success execution state: in case of approval, the task reaches this state.
You can view details about the execution state in the workflow Execution Monitor for the respective task.
| Field | Description | Required |
|---|---|---|
| Send request to | A list of users or groups who will receive the approval request via email. In expression mode, the action expects the recipients in a JSON structure, containing a list of userIds and groupIds. | Required |
| Message | A custom message included in the email, explaining the context and reason for the approval request. | Required |
The approval request action does not produce a result.
This is an example expression input for the Send request to field.
{"userIds": ["61fb71d0-61bb-469c-92c8-d7705f00bfbb", "57bd791d-3d21-4772-93ac-5b9d31eb4022"],"groupIds": [ "c5887d2a-5272-4d29-8b39-bd541f6fd342"]}