- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 07:09 AM
Currently, when an HR case is auto-assigned to one of our agents, it counts all active cases, including cases in the Awaiting Acceptance state. We would like to remove Awaiting Acceptance from the case count. What would be the best way to accomplish this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 07:19 AM - edited 09-26-2023 07:31 AM
How about adding a line after the 240th line that checks for the case state, something like count.addQuery('state', '!=', 'state_value');
you could also try count.addEncodedQuery("state!=state_value");
*state_value for the Awaiting Acceptance
if my answer has helped with your question, please mark my answer as an accepted solution and give a thumbs up.
Kind regards
Misgana D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 02:02 AM
Hello @Terence Riley,
Am guessing you are using AWA (Advanced Work Assignment) for auto-assigning cases to an agent if that's the case you need to add a condition in your queue to exclude cases that are in the Awaiting Acceptance state.
if my answer has helped with your question, please mark my answer as an accepted solution and give a thumbs up.
Kind regards
Misgana D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 06:55 AM
No, I am not using AWA. I am using the OOB automatic case assignment feature/Auto Assign Business Rule to assign an HR case to an agent. It assigns the case to the agent with the least number of Active cases assigned. I believe the case count is in the Assignment script include "hr_AssignmentUtil". See line 240 in the image below. It is counting Active cases. How can we exclude cases in the Awaiting Acceptance state even though they are active?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 07:19 AM - edited 09-26-2023 07:31 AM
How about adding a line after the 240th line that checks for the case state, something like count.addQuery('state', '!=', 'state_value');
you could also try count.addEncodedQuery("state!=state_value");
*state_value for the Awaiting Acceptance
if my answer has helped with your question, please mark my answer as an accepted solution and give a thumbs up.
Kind regards
Misgana D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 08:59 AM
We would like to avoid changing the fundamental/OOTB/core scripts. Is there another workaround?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 06:58 AM
Here is the product documentation link to Assignment and matching rules in HR.