You are here:
Complaint Resolution Priority
Assign a resolution priority to complaints to help complaint intake officers process the most important ones first. Run a flow and an expression set when a complaint is created or updated to calculate its resolution priority. Use the expression set to define how a complaint’s resolution priority is calculated based on the complaint details.
Required Editions
| View supported product editions. |
Public Sector includes these components to help you calculate a complaint’s resolution priority.
- Update Complaint Summary and Resolution Priority: A record-triggered flow that runs when a public complaint is created or updated.
- Calculate Complaint Resolution Score: Update Complaint Summary and Resolution Priority calls this subflow that determines the priority and completeness levels for the complaint.
- Calculate Public Complaint Score: A Business Rules Engine expression set template to create an expression set from. The subflow calls the expression set with the priority and completeness levels. The expression set calculates and returns a resolution priority on a 100-point scale.
Here’s how the flows and the expression set calculate the resolution priority for a complaint.
- When a complaint is created or modified, the record-triggered flow calls the subflow to get the complaint’s resolution priority.
- The subflow determines the priority and completeness levels for the complaint. The completeness is based on the availability of a description, supporting evidence, and information about the parties involved. The priority and completeness levels have one of these values: High, Medium, or Low.
- The subflow sends the priority and completeness levels to the expression set.
- The expression set looks up the priority and completeness levels in a decision matrix and gets the corresponding numerical values. You can map the levels to suitable numerical values in the range 1 to 10 in the decision matrix.
- The expression set converts the input values to a 100-point scale by multiplying them by 10.
- The expression set calculates the weighted sum of the priority and the completeness values and returns the result to the subflow. You can specify suitable weights for priority and completeness in a decision matrix. The sum of the weights must equal 1.
- The record-triggered flow gets the resolution priority from the subflow and updates the Resolution Priority field on the complaint record with the value.
Resolution Priority Calculation Example
Here’s some example data to illustrate how a complaint’s resolution priority is calculated.
After the Calculate Complaint Resolution Score flow determines the priority and completeness levels, the levels are converted to numerical values for use in the expression set. Here are some sample numerical values for the priority and completeness levels.
Parameter |
Subparameter |
Value |
Completeness |
Low |
5 |
Completeness |
Medium |
8 |
Completeness |
High |
10 |
Priority |
Low |
5 |
Priority |
Medium |
8 |
Priority |
High |
10 |
Next, here are some sample weights to assign to priority and completeness in calculating the resolution priority.
Parameter |
Weight |
Completeness |
0.5 |
Priority |
0.5 |
The resolution priority is calculated using this expression. Resolution Priority = (Priority Value * 10) * Priority Weight + (Completeness Value * 10) * Completeness Weight
Here’s some sample data that shows how a complaint’s resolution priority varies based on the priority of the complaint and the availability of details such as complaint description, evidence, and complaint participant information.
Complaint |
Priority |
Priority Level |
Priority Value |
Description |
Complaint Participants |
Custody Items (Evidence) |
Completeness Level |
Completeness Value |
Resolution Priority |
PC-0000000004 |
High |
High |
10 |
✅ |
✅ |
✅ |
High |
10 |
100 |
PC-0000000064 |
Medium |
Medium |
8 |
✅ |
✅ |
✅ |
High |
10 |
90 |
PC-0000000256 |
None |
Low |
5 |
✅ |
✅ |
❌ |
Medium |
8 |
65 |
PC-0000001024 |
Medium |
Medium |
8 |
✅ |
❌ |
❌ |
Medium |
8 |
80 |
PC-0000002048 |
Low |
Low |
5 |
❌ |
❌ |
❌ |
Low |
5 |
50 |
For instance, for PC-0000000064, the resolution priority is calculated using this expression.
Resolution priority = (8 * 10) * 0.5 + (10 * 10) * 0.5 = 90
Use the flow and the expression set as a reference to set up your own mechanism for determining resolution priority. For example, build an expression set that considers additional factors such as the type of the complaint and the availability of supporting documents or media. Or create your own schedule-triggered flow to assign a resolution priority to existing public complaints so that you can rank them for processing.

