After installing the Case Comments Summary module, you need to set it up before using it with the Case Management Studio Base application. This guide walks you through the setup steps, which include:
Step 1: Generate a summary on new and updated comments
To set up the Case Comments Summary module with Case Management Studio you need to first update the process model that handles creating and updating case comments so the case comments summary can be generated when a comment is added or updated:
To update the process model:
Login to the target environment.
Navigate to the Appian Designer.
Navigate to the Case Management Studio Base application.
Search for and open the CMGT_Comment_CreateUpdate process model.
Add a subprocess node after the Write Comment node and name it Summarize with AI.
Note: The incoming path should be chained, but the outgoing path should not be chained.
In the new subprocess node, go to Properties.
Navigate to the Setup tab and select the following settings:
In the Subprocess Setup section, select Asynchronously in the Subprocess will run section.
In the Run this process model section, select CMGT_CMT_AI_CaseCommentSummary_Update as the process to run.
Select the Reporting checkbox to include data from this subprocess in the parent process model reports.
In the Input Variables section, click the Expression Editor for the caseId variable and paste the following code snippet.