
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 01:24 AM
Hello,
Customer wants us to remove 'Number of rows removed from this list' message from Knowledge article table hence I read somewhere that we have to write query business rule, I tried writing one sample query business rule but that message is not going, Can someone please help me with that.
Regards,
Musab
Regards,
Musab
Solved! Go to Solution.
- Labels:
-
Agent Workspace
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2022 02:14 AM
This is done successfully with query BR.
(function executeRule(current, previous) {
var allowedIds = [];
var kb = new GlideRecord('kb_knowledge');
kb.query();
while (kb.next()) {
if (kb.canRead()) {
allowedIds.push(kb.getUniqueValue());
}
}
current.addEncodedQuery('sys_idIN' + allowedIds);
})(current, previous);
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 06:57 AM
Any help would be really appreciated.
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2022 02:14 AM
This is done successfully with query BR.
(function executeRule(current, previous) {
var allowedIds = [];
var kb = new GlideRecord('kb_knowledge');
kb.query();
while (kb.next()) {
if (kb.canRead()) {
allowedIds.push(kb.getUniqueValue());
}
}
current.addEncodedQuery('sys_idIN' + allowedIds);
})(current, previous);
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2024 09:38 AM
Great response ! it helps me a lot , thnks