Use > Automate Release > Release pipeline > Release gate actions > Create an approval release gate action

Create an approval release gate action

An approval action acts as a final gate before you promote your package to the next lifecycle stage. You can choose the users who must approve the promotion to the next stage. Choosing users that belong to administrator or similar roles and granting the right to approve to a limited set of users minimize the chances of accidental promotion to the next stage.

When an approval action is executed, an email is sent to the approvers notifying them of a pending approval request. They can then approve or deny the promotion using the Release Automation > Approvals sidebar menu item.

When an approval action is executed, an email is sent to the approvers notifying them of a pending approval request.

To create an approval action

  1. Navigate to Release Automation >> Release Pipeline.

  2. Select the design type (topology or sequenced) from the drop-down list in the left pane. (Topology is selected by default).

  3. Select the application and the version for which you want to create an approval action.
  4. Click the gear icon next to the stage where you want to create an approval action, and click Configure Gate Actions.
  5. Click Add Action > Add Approver to create an approval action.
  6. In the Add Approval Policy dialog box:

    1. In the Display Name filed, enter the name of the approval action.
    2. In the Description filed, enter a description for the action you are creating.
    3. In the Assigned Approvers field, click the + button to search for and add approvers who must approve the promotion. When you click the + button, the Add Users dialog box is displayed.
    4. In the Add Users dialog box, the drop-down list displays all the roles that are present in the design. You can select a particular role and then type the user name or the starting alphabets of the user name that belongs to the role.

      Only user names configured in LDAP are displayed in the drop-down list.
    5. Click Search. All user names that belong to the role you selected are displayed. If you are not sure which role the user name belongs to, select All Roles. You can select multiple user names.
    6. In the Minimum Approvals/Rejections field, enter the minimum number of approvers who must approve or reject the promotions. For example, if you enter 2, at least 2 of the approvers you added in the Assigned Approvers field must approve for the package to be promoted to the next lifecycle stage.
    7. Select the Automatic Approval check box for the package to be automatically promoted or denied if the assigned approvers do not approve or reject within the hours specified in the Wait time for Automatic Approval (in hours) field.
    8. In the Automatic Approve/Reject drop-down list, select whether the package must be approved or rejected during the approval process.

      For example, if the minimum number of approvers is 3, and you select Approved from the Automatic Approve/Reject drop-down list and specify a wait time of 2 hours, then even if only 1 approver approves and the other 2 approvers do not respond, the package is automatically promoted to the next lifecycle stage after 2 hours.

      The Automatic Approve/Deny and Wait time for Automatic Approval fields are displayed only if the Automatic Approval check box is selected.
    9. In the Wait time for Automatic Approval (in hours) field, enter the number of hours after which the package is automatically promoted to the next lifecycle stage.
    10. Click Add.

An email is now sent to all the approvers named in the Assigned Approvers field. Approvers have the right to Approve or deny an approval request.