--- title: Create a context in Recommended Actions description: Create a context for an individual table, such as the Case table. Contexts store information including the recommended actions that agents can use and the rules that determine when those actions are available. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/customer-service-management/ra-csm-contexts-create.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 4 breadcrumb: [Configuring the Recommended Actions application, Recommended Actions configuration, Implement Intelligence, Configure, Customer Service Management] --- # Create a context in Recommended Actions Create a context for an individual table, such as the Case table. Contexts store information including the recommended actions that agents can use and the rules that determine when those actions are available. ## Before you begin Role required: sn\_nb\_action.next\_best\_action\_author, or admin ## About this task A context enables agents to see recommendations for a specific type of record when certain rules are met. These recommendations can help agents by suggesting actions to take based on the record context. ## Procedure 1. Navigate to **All** > **Recommended Actions** > **Contexts**. 2. Select **New** on the Contexts list. 3. Fill in the fields on the form.
| Field | Description |
|---|---|
| Name | Name for the context. |
| Table | Table for which the context applies to.If you select a table that already has a context, then a warning message is displayed. |
| Description | Brief description about the context. |
| Active \(Optional\) | Check box to make the context active. |
| Asynchronous Evaluation | When selected, enables asynchronous mode of evaluating recommendations on the contextual side panel in the CSM Workspace. That is, this mode enables agents to work on the case or incident record while the recommendations load on the contextual side panel. For more information, see [Synchronous and asynchronous modes of evaluation for Recommended Actions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/ra-csm-contexts.md). |
| Exclude fields | Fields of the context table that do not trigger the Recommendations refresh in the Configurable CSM Workspace, when these fields are updated. Add the context table fields that do not impact recommendations generation. |
| Parent Context Config | |
| Parent context | Enables you to choose which parent table's rules and recommendations must be applied to the context you are working with.**Note:** - This field appears when the selected table has a parent table with context defined. - This field does not show the parent context which have context inputs configured. - If parent context is set, the Context inputs related list does not appear. |
| Inherit exclusions from parent context | When selected, includes the exclusion fields of the parent context table to prevent the trigger of the Recommendations refresh in the CSM Configurable Workspace.**Note:** This field appears only when a context is added in the Parent context field. |
| Contextual AI Search Config | |
| Search Application Configuration \(Optional\) | Search application configuration that specifies AI Search as the search engine and the settings to use for the search.You can configure the search result display and refinement settings in the search application configuration. For more information, see [Search application configurations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/defining-search-app-cfgs-ais.md). The **\[CSM AIS\] Configurable Workspace Search Config** search application configuration is provided with the CSM Configurable Workspace store application. To access this configuration, navigate to **AI Search** > **Search Experience** > **Search Applications**. For more information about AI search configurations, see [Configuring AI Search in Recommended Actions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/ra-configuring-ai-search.md). |
| Default search term | Search term that appears by default.You can map the context input from the pill picker. |
| Grouping strategy \(Optional\) | Strategy for grouping recommendations.For example, you can define a grouping strategy to group recommendations that have similar criteria. **Note:** You might need to configure the Context form to display the **Grouping strategy** field. This field is available by default for ITSM Workforce Optimization users. |
| Refresh interval \(Optional\) | This value determines how often recommendations are refreshed for the context. The default value for this field is 12 hours and the minimum value is 10 minutes.**Note:** You might need to configure the Context form to display the **Refresh interval** field. |
| Show relevancy score for results | Displays the relevancy score on the search results and recommendations in the Recommended Actions contextual side panel. |
| Top N results | Limits the number of search results displayed in the AI search tab of Recommended Actions to the top N results for improved precision and easier management. The number of results that appear is determined by the **Search Results Limit** value which can be updated by opening the Search Application in the [Search Application Configuration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/ra-csm-contexts-create.md). |