Skip to main content
Deployment options: WSO2 Cloud

Submit Workflow Approval Requests

In API Platform, if an administrator configures a workflow to require approval, you must submit a request to obtain approval to perform the task.

When you submit a workflow approval request, API Platform notifies all authorized reviewers via email. Once an authorized reviewer approves or rejects the request, you will receive an email with the decision details. See Review Workflow Approval Requests for more information on workflow approval request reviews.

The approach to request approval can vary depending on the workflow. Click the relevant tab:

Request approval for environment promotion​

Prerequisites:

  • Ensure you have an api proxy created, built, and deployed to the first environment of your CD pipeline.
  • Ensure that an approval workflow is configured for environment promotion.
  • Ensure you are promoting the api proxy to a critical environment, such as production.

To request approval to promote an api proxy from the development environment to production, follow these steps:

  1. Sign in to the API Platform Console.
  2. In the api proxy Listing pane, click on the api proxy you want to deploy. This takes you to the Overview page of the api proxy.
  3. In the left navigation menu, click Deploy.
  4. Go to the Development card and click Request to Promote. Deploy page showing Request to Promote button on the Development card for the API proxy
  5. In the Request Approval pane, enter your request details and click Submit. This creates a request and notifies all authorized assignees via email about the request.
note

When an environment promotion request for a specific api proxy is pending review, API Platform restricts other developers from making the same request until the pending request is either approved or rejected.

When an authorized assignee approves the request, you will receive a confirmation email and can proceed to promote the api proxy to production.

Cancel a pending request:

If you want to cancel a workflow approval request that is already submitted, you can do so before the request is approved or rejected.

When you submit a workflow approval request, the Request to Promote button changes to Cancel Request. To cancel an approval request, click Cancel Request. Upon confirming the cancellation, all configured approvers are notified immediately, and the request will no longer be pending.

Deploy page showing Cancel Request button replacing Request to Promote for a pending approval