CSM Query rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2023 04:07 AM
I have a requirement to make customer service case type cases visible in the List view to agents based on conditions (assignment group wise, priority, etc..). I tried creating Query rules for my case type table, but the rules are not working.
Can anyone help with this requirement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2023 11:05 AM
Hi, If you deciding to restrict the ticket visibility for agents then you should define the ACL. Query rule will not help you else you should enable domain separation and define the condition and configuration.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2023 11:22 PM
Hi @ersureshbe ,
Thank you for your response!
Will Query rules work only on restricting tickets for customer/consumer level? it will not work for internal users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2023 07:48 AM
Hi @Nick9424 ,
Maybe you already had your answer, but I had the same issue.
I had to add script to the read ACL of the case type table, and make the query rule specifically for that table.
answer = false;
if(new global.CSMQueryRulesUtil().useQueryRules()) {
var filter = new sn_queryrules.QueryRuleGenerator().getEncodedQueryForRoles('case_type_table','agent_role');
answer = GlideFilter.checkRecord(current,filter);
}