Outcome elements
In smart policies, the outcome element marks the end of the automated processes.
Although your smart policy can have multiple outcomes when you're using branches, a product application will only ever reach one outcome each time it goes through the smart policy flow.
The possible outcomes are as follows:
Automatic approval: After all tasks have been passed, the product application is approved automatically. Once this outcome has been applied, the application flag becomes Decided.
Manual review: After all tasks have been passed, a user or the API must manually approve the application. Once this outcome has been applied, the flag becomes Ready for decision.
Escalate application: After all tasks have been passed, the application is escalated to one or more specified teams. When all escalation teams have given their approval, a user or the API must manually approve the product application. Once this outcome has been applied, the flag becomes Waiting on escalations.
Immediate rejection: The product application is rejected automatically. Optionally, you can include a reason for the rejection, which is displayed in the profile's audit report. Once this outcome has been applied, the flag becomes Decided. Note that tasks need not be completed for this outcome to be applied.
The Immediate rejection outcome only rejects product applications that have never been approved. A product application that was previously approved can reach this outcome if it goes through the policy flow again. In this case, a user or the API must manually cancel the product application. The flag is Ready for decision.
Approved or rejected product applications
When a product application is approved, it goes into the monitoring stage. Note that there are some circumstances that prompt the smart policy to be re-applied to the product application.
When a product application is rejected, this is the end of the lifecycle in most cases. However, it is possible to revert the decision manually. If this happens, the smart policy is re-applied to the product application.