Suggest similar cases for a case – Text Analytics by Microsoft Cognitive Services
Are you the person involved in query resolution?
If yes, then this feature is surely going to interest you… It is human nature to search for an existing solution to a problem rather than resolving the case by starting afresh. Microsoft Cognitive Services helps us to find similar cases if any exist in the case system, so that we can use them to resolve the current case. Activating this feature requires some settings to be enabled and some rules to be defined.
To set up Dynamics 365 to automatically suggest similar cases, do the following:
- Enable Text Analytics
- Connect Dynamics 365 (online) to the Cognitive Services Text Analytics service
- Define and activate similarity rules
- To See related cases
We will be taking each step in detail below
Enable Text Analytics
To enable Text Analytics, do the following:
- Go to Settings > Administration.
- Click System Settings and open the Previews tab.
- Under Text Analytics Preview for Case Topic analysis, suggest Similar Cases and Suggest Knowledge Articles, set the Enable Dynamics 365 Text Analytics Preview to Yes.
- Click OK to give your consent.
- Click OK to close the System Settings dialog.
Connect Dynamics 365 (online) to the Cognitive Services Text Analytics service
Microsoft Dynamics 365 features that use the Cognitive Services Text Analytics service for keyword matching, like Document Suggestions, similar cases, topic analysis, and knowledge article suggestions, require a Cognitive Services Text Analytics service connection. This connects Microsoft Dynamics 365 to the Cognitive Services Text Analytics service.
- Go to Settings > Administration > Azure Text Analytics Service Configuration.
- Review the information and click Continue.
- Next, fill in the connection information.
- Click Test Connection to validate your settings.
- Once the connection is successful, click Activate.
Following are required before we proceed:
|Azure Service URL (required)||The End Point URL from the Azure Account after subscribing|
|Azure Account Key (required)||Key generated by azure account after subscription for the text analytics|
On clicking the continue button, we are re-directed to the following page:
To get the highlighted “Azure Service URL” and the “Azure Account Key” following steps has to be followed.
- We need to login to Azure portal account by using Microsoft live id or the Dynamics 365 account ID
- Azure subscription has to be created for the “Cognitive Analytics Service”
- Create a free trial azure subscription account by validating through the phone number and Credit card details.
- Select the Text Analytics API service
- An account gets created and will be given with a set of details like key, endpoint URL etc.
Copy the Endpoint URL and the key to our “Text Analytics Connection” in dynamics CRM and put it to the “Azure service URL “and “Azure Account Key”.
Note: We need to wait 10 minutes to get the key activated andthen test the connection and activate.
Define and activate similarity rules
We need to create rules to suggest similar records. We can only create one similar records suggestions rule for each entity type.
- Go toSettings > Data Management > Similar Records Suggestions Settings.
- Fill in the fields on the New Advanced Similarity Rule dialog.
Create the matching field and activate the Record to enable the rule.
Enable a field for exact matching of similar records
To enable a field for exact match, add the field in the Quick find view of the corresponding entity.
- Go to Settings > Customizations > Customize the System.
- Expand Entities, expand the entity that you want to enable exact matching, such as the Case entity, and then click Views.
- Click Quick Find Active Accounts, click More Actions, and then click Edit.
- Under Common Tasks, click Add Find Columns, and then select the field that you want to enable exact matching, here I have added the case title.
- Click OK, and then click Save and Close on the Quick Find Active Accounts page.
- Publish the Customization
To See related cases
After setting the Azure services rules, we are now ready to see cases related to the ones we are working on currently.
- Click Service > Cases and Create a new Case
- For similar cases, click Find.
Here, we have mapped the case title, so I am able to find similar cases where the text titles match to the current case.
In this case, there are 4 matches, I could click the one which is most relevant to me and take the solution from it for my current case to get resolved and click the “Found a solution” button to close the window.
This Really Makes The Case Resolver Life Easy!!
Latest posts by Rekha Jyothimani (see all)
A CRM developer who loves to read every spare minute she gets!All stories by: Rekha Jyothimani