Case management · Part 1 of 7
Set up the project
Create the Case Management project with its SLA and escalation settings and the translated messages that later parts use.
What you’ll build
Section titled “What you’ll build”In this part you lay the foundations for the case management solution. You create the Case Management project that holds everything you build in the series. You add three configuration values: the number of working days the service desk has to respond to a case, one for high-priority cases and one for all others, and the email address of the escalation team. Finally you add two localized resources, the subject and body of the email that tells the triage team about a new case. Keeping these values out of your logic means the business can change an SLA, and translators can change a message, without anyone editing a flow.
Before you begin
Section titled “Before you begin”Check the prerequisites on the Tutorials page: Logic Composer and Process Orchestrator are installed, you have the Flowon Customizer and Process Designer roles, and the unmanaged solution ContosoService exists.
Create the project
Section titled “Create the project”-
Open the Logic Fabric Logic Composer app and go to Logic FabricSettingsProjects.
-
Select New.
-
Enter
Case Managementas the Project Name and chooseContosoServicein Solution. -
On the Docs tab, enter the Title
Case managementand the DescriptionValidation, routing, SLA and escalation logic for customer service cases. -
Save the project.
Every artifact you create in this series belongs to Case Management. You choose the project when you create an artifact, and you cannot move the artifact to another project afterwards. See Projects.
Add the configuration values
Section titled “Add the configuration values”One configuration record holds one value, so you create three records.
-
Go to Logic FabricSettingsConfigurations and select New.
-
Create the first value:
Setting Value Name SlaResponseDaysHighProject Case ManagementType Integer Value 1Cache Strategy Do Not Cache On the Docs tab, note
Working days to respond to a high-priority case. Owned by the service desk manager.Save. -
Create
SlaResponseDaysStandardthe same way, with Type Integer, Value3and Cache Strategy Do Not Cache. It applies to cases of every other priority. -
Create
EscalationTeamEmailwith Type String, Valuesupport-escalations@contoso.com(use a mailbox you can read in your environment) and Cache Strategy Do Not Cache.
Name and Type are locked after the first save. You use Do Not Cache here so that a change takes effect at once, which you will rely on when you test the escalation in part 5. Once the values are stable, you could switch to Cache with TTL. See Configuration values.
Add the localized resources
Section titled “Add the localized resources”The triage team receives an email for every new case. You store its subject and body as localized resources, with numbered placeholders that the flow fills in.
-
Go to Logic FabricSettingsLocalized Resources and select New.
-
Enter
Case_NewCaseSubjectas the Name and choose theCase ManagementProject. -
In the Resource section, enter the English text:
New {0} priority case {1}: {2}If other languages are enabled in your environment, enter a translation for each one and keep all three placeholders. Save.
-
Create a second resource,
Case_NewCaseBody, with this English text:Please triage this case. The first response is due by {0}. Open the case: {1}Add the translations and save.
In part 3, the flow fills {0}, {1} and {2} of the subject with the case’s priority, case number and title, and the body with the due date and a link to the case.
Check your work
Section titled “Check your work”You now have:
| Artifact | Name | Value |
|---|---|---|
| Project | Case Management |
Linked to the ContosoService solution |
| Configuration | SlaResponseDaysHigh |
Integer 1 |
| Configuration | SlaResponseDaysStandard |
Integer 3 |
| Configuration | EscalationTeamEmail |
String, the escalation mailbox |
| Localized resource | Case_NewCaseSubject |
New {0} priority case {1}: {2} |
| Localized resource | Case_NewCaseBody |
Please triage this case. The first response is due by {0}. Open the case: {1} |
Open each configuration and resource again and check that its Project is Case Management. A wrong project cannot be fixed later: delete the record and create it again.
Continue with Part 2: Validate and calculate, where you check new cases with a validation set and calculate their response due date from these settings.