Dynamically set the self-service action approval step
Dudi - Port team
Add the ability to dynamically decide whether the self-service action will have an approval step or not.
How it will work - upon the action execution, a webhook can be sent to the customer's backend in order to run a logic that will decide if this specific action run needs to be approved by someone before executed
Aaron Taylor
Hi! For anyone looking to accomplish this, please follow this guide: https://docs.port.io/actions-and-automations/define-automations/examples#approve-a-self-service-action-based-on-an-input-value
Matan Grady
With our new Workflows feature, this could be achieved with some tricks
Example use case - create a new service, and require approval only for certain teams
Implementation -
1) Create an action that gets the service and team as an input
2) The action is now awaiting approval
3) Trigger an automation that will auto-approve for certain teams
4) The team that requires approval won't be auto-approve and will wait for official approval