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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Contexts for Customer Service

# Contexts in Recommended Actions for Service {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Contexts in Recommended Actions for Service

TheRecommended Actions for Serviceapplication enhances agent efficiency by providing tailored recommendations based on record contexts within ServiceNow.
Contexts define rules and actions for specific tables, helping agents view relevant suggestions and guidance for Cases and Interactions.
Show full answer Show less  

## Key Features

* **Case Context Record:** Supports the Case table by linking context records with rules and recommendations. It maps search results to guidance actions across key tables such as Knowledge, Case, Incident, Problem, and Change Request. Other tables default to generic guidance.
* **Interaction Context Record:** Automatically provides search results from the Knowledge table during chat interactions, using the short description field to present relevant articles in the contextual side panel. It maps knowledge results to a specific chat guidance action and other tables to a default guidance action.
* **Search Result Mapping:** Ensures accurate display of knowledge articles and other search source table results in the Search tab within the contextual side panel during interactions.
* **Activation and Conflict Management:** Administrators can activate or deactivate context records to avoid conflicts. The system alerts admins if multiple contexts for the same table are active and requires specifying the appropriate `contextSysID` property on the Recommended Actions component to maintain clarity and avoid duplication.
* **Fix Script:** Automatically deactivates duplicate Interaction Context records associated with the same table to prevent conflicts and ensure only one active context per table.

## Practical Application for ServiceNow Customers

By enabling and managing context records within the Recommended Actions for Service application, agents receive relevant, rule-based recommendations directly on Case and Interaction records. This streamlines decision-making and improves response quality. Customers should:

* Activate the **CSM Interaction context** to enable knowledge article recommendations during chat interactions.
* Monitor system alerts when activating multiple contexts for the same table and configure the `contextSysID` property accordingly to avoid conflicts.
* Leverage the provided mappings to ensure guidance actions are correctly associated with search results from various tables.

These capabilities help optimize agent workflows and enhance customer service interactions through contextually relevant guidance.  
A context enables agents to see recommendations for records from a table when certain rules are met. These recommendations can help agents by suggesting actions to take based on the record context.
The Recommended Actions for Service application provides context records for the Case and Interaction tables.

## Case Context record {#ra-csm-context-records__section_gvg_wy1_c2c}

The Recommended Actions for Service application provides the Case Context record for the Case table.  
Context records include [rules](https://servicenow-prod.fluidtopics.net/b3Z_K1pMLqRzgav5OAyWDw "A rule is a set of conditions that applies to a context. A rule shows recommendations to agents with certain roles for records that meet certain conditions.") and [recommendations](https://servicenow-prod.fluidtopics.net/_3QEzIcdSP0oCzfUk2Yybw "A recommendation is a way to suggest a helpful action to an agent. A recommendation includes the action and any relevant resources and inputs."). The Case Context record also includes search result mapping records for the search source tables. The following tables are mapped to specific guidance actions:

* Knowledge
* Case
* Incident
* Problem
* Change Request

{#ra-csm-context-records__ul_egw_gz1_c2c}The remaining tables are mapped to the [Default guidance for search results](https://servicenow-prod.fluidtopics.net/mpAoJTGszpiwCAp1VGeG8w "The Default guidance for search results is a guidance that can be used for any search sources that don't have mapped guidances.") guidance action.

## Interaction Context record {#ra-csm-context-records__section_fff_bfb_c2c}

The Recommended Actions for Service application includes a context record and search mapping record that automatically displays search results from the Knowledge table for chat interaction records.

The Interaction Context record enables search based on the short description of the interaction record and displays relevant articles. The search mapping record maps knowledge results to the Share KB in chat interactions guidance. During chat interactions, the system accurately displays knowledge results in the Search tab in the contextual side panel.

The Recommended Actions for Service application also includes a search mapping record that maps all search source tables, with the exception of the Knowledge table, to the [Default guidance for search results](https://servicenow-prod.fluidtopics.net/mpAoJTGszpiwCAp1VGeG8w "The Default guidance for search results is a guidance that can be used for any search sources that don't have mapped guidances.") guidance action. During chat interactions, the system accurately displays results for the search source tables in the Search
tab.

Follow these steps to enable recommendations in the contextual side panel for chat interactions:

1. Navigate to AllRecommended ActionsContextsCSM Interaction context.
2. Enable the Active check box.
3. Select Update.
{#ra-csm-context-records__ol_ffp_4fb_c2c}

## Fix script {#ra-csm-context-records__section_f1n_2gb_c2c}

The Recommended Actions for Service application includes a fix script that checks for existing context records associated with the same table as the Interaction Context record.

* If one or more records for the same table are found, the Interaction Context record is deactivated.
* If no existing context records for the same table are found, the Interaction Context record remains active.
{#ra-csm-context-records__ul_yzh_fgb_c2c}

This avoids duplicate or conflicting context records.

## Activating or deactivating context records {#ra-csm-context-records__section_mht_mgb_c2c}

When activating or deactivating context records, the system displays alert messages so that contexts can be managed effectively without causing conflicts.

If multiple contexts are activated for the same table, the system alerts the admin to specify the correct contextSysID property in the Recommended Actions component on record pages for the referenced
table.

If an admin activates multiple contexts for the same table, the system displays a message advising the admin to specify the correct contextSysID property on the Recommended Actions component for all record
pages that reference this table.

The message includes information about how to configure the contextSysID property on the Recommended Actions component and what happens if the correct context is not specified.

The system logs all context activation and deactivation events along with the displayed alerts.

*[\>]: and then


