---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Configure a cloud policy rule

# Configure a cloud policy rule {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

A policy rule is a collection of conditions and actions. If all conditions evaluate to true, the policy engine performs the actions. If any condition evaluates to false, the policy engine does not perform the actions.{#configure-cloud-policy-rule__shortdesc-policy-rule}

## Before you begin

Optional: [Create one or more cloud policy
groups](https://servicenow-prod.fluidtopics.net/H2yVOZy5WHAEfq3AF7KTyg "A cloud policy group is a container for related policies. Consider grouping policies that are often used together or should be considered together. Grouping policies can help you to apply policies consistently across your organization.").

Role required: sn_cmp.cloud_governor or admin

## About this task

* A policy can include multiple rules. You can configure the order that rules are applied.
* Every rule is executed to completion.
* Any rule error stops execution. Exception: Policies that do not specify an operation.
{#configure-cloud-policy-rule__ul_jpq_zrj_4fb}

## Procedure

1. In the Cloud Admin Portal, navigate to GovernPolicies.
2. Open a cloud policy and set the policy to the Draft state if needed.
3. On the Rules related list, click New and then enter a descriptive Name for the rule.  
   * The rule name cannot be the same as the policy name.
   * The rule name should not start with a number.
   {#configure-cloud-policy-rule__ul_uxf_tpv_zfb} {#configure-cloud-policy-rule__cmd-new-rule-policy}
4. Using the base-system condition builder, specify the Conditions that must be met for the policy engine to perform the actions.  
   The following example rule is applied for a blueprint provision approval policy. The condition evaluates to true if the OS profile field on the request form has the value "Windows".
   {#configure-cloud-policy-rule__table_bth_qm3_jbb__entry__2}

   | Field | Description |
   |-|-|
   | \[Criteria type\] | Select one of the following options: * Request Form: Base the condition on a property (attribute) value in the request form in the Cloud User Portal. You specify which property to test. In the example, the condition tests whether the OS profile field on the request form has the value "Windows." * User: Base the condition on a user role or on the group that the user belongs to. For example, to create a condition that applies when the user belongs to the Marketing group, select: * \[Criteria Type\]: User * \[User Entity\]: Group * \[Relational Operator\]: Equals * \[Group\]: Marketing {#configure-cloud-policy-rule__ul_vtn_wls_kbb} {#configure-cloud-policy-rule__ul_xvy_d43_jbb} Note: You use different criteria to build a condition for policies that are triggered by the `on Lease end` trigger. See the example that appears after the table. |
   | \[Relational Operator\] | Select an appropriate operator. |
   | \[Value\] | Depending on the selected \[Criteria type\], enter or select a value. * For Request Form, enter a value for the attribute. * For UserGroup, select a group. * For UserRole, select a role. {#configure-cloud-policy-rule__ul_zrn_pxs_kbb} |
   | \[Logical operator\] | When defining multiple conditions, select a logical operator OR or AND that specifies the logical relationship with the next condition. |
   [ ]

   {#configure-cloud-policy-rule__table_bth_qm3_jbb} {#configure-cloud-policy-rule__cmd-rule-condition-policy}
5. Click Submit.

## Example

For policies that are triggered by the `on Lease end` trigger, use the
base-system date
condition builder to configure the condition to test. In addition to the condition,
the following example shows the actions that the policy engine performs if the
condition is met.
Figure 1. Condition and actions for a lease end policy

## What to do next

Create the policy actions that should run when all conditions of the rule evaluate to true.

*[\>]: and then


