Create an action for an 'on Resource Limit exceeded' policy
Set the on Resource limits exceeded policy to automatically run approval subflows or send notifications when an order form is submitted for a template-based catalog item that exceeds the defined resource limit or quota values.
Before you begin
You must have configured the following items:
- One or more cloud policy groups
- Cloud policy
- Approval policy
- Email notification
- Create a subflow in Workflow Studio
Role required: sn_cmp.cloud_governor or cloud_admin
About this task
The On resource limit exceeded base system policy action has a default ServiceNow approval policy rule configured by default. If you want to trigger other actions such as notifications or a custom approval subflow when the resource limit is exceeded, you can either modify the base system policy action or create a custom policy for your instance.
Procedure
Modify or create a cloud policy action to use the on Resource limit exceeded trigger.
In the Cloud Admin Portal, navigate to Govern > Policies.
Modify a base system policy or create a new policy record.
- Open the base system Resource Order Control policy.
- Modify the policy name, start, and end dates and order of execution.
- Modify the policy rules conditions.
Click New to create a new policy record.
For more information, see Create a cloud policy.
In the Rules related list, modify the base system rule or create a new rule.
- Open the base system approveresourcelimit rule that should perform the action and customize it.
Create a policy rule.
For more information, see Configure a cloud policy rule.
Specify a policy action.
In the Policy Rule Actions related list, click New.
Click Create next to the action you want to occur when the quota is exceeded.
| Option | Steps |
|---|---|
| ServiceNow Approval |
|
| Custom Approval |
|
| Send aNotification |
The base system notification email for the 'on Resource Limit exceeded' policy action appears in the lookup table if you're using the base system policy. |
- Click Submit.
Parent Topic:Create a cloud policy