---
sourceDocument: Xanadu Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/customer-service-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Create a rule from the Case context record

# Create a rule from the Case context record {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Create a rule to show recommendations for active cases that meet the condition specified in this rule.

## Before you begin

Role required: sn_nb_action.next_best_action_author, admin

## About this task

New rules can only be created from context records.

## Procedure

1. Navigate to AllRecommended ActionsContexts.
2. Select the Case context.  
   The Case context is available by default.
3. In the Rules related list, select New.
4. In the Name field, enter <kbd class="ph userinput">Active rule</kbd>.
5. In the Roles field, select the Edit User Roles ![Edit User Roles icon]() icon and then select Customer service agent \[sn_customerservice_agent\] and Consumer service agent \[sn_customerservice.consumer_agent\].  
   The selected user roles can see recommendations for this rule.
6. Select Done on the Roles pop-up window.
7. In the Condition field, use the condition builder to add the condition "Active \| is \| true".  
   Agents can see recommendations for the records in the context table that meet this criteria.
8. In the Field affecting this rule field, select Short description from the slush bucket.
9. Select Submit.
{#ex-create-rule__steps_zn1_kbf_ztb}

*[\>]: and then


