Filter @mention on CSM workspace
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 04:29 AM
Hey everyone,
I have a BR that filters the mention's users on work notes on the basic regular Case form.
This filtering is required for the same field on the CSM Configurable Workspace, but when trying to see if that BR is triggered on the workspace, this doesn't seem to be working.
BR is written as such:
(function executeRule(current, previous /*null when async*/ ) {
try {
if (gs.action.getGlideURI() != '') {
if (gs.action.getGlideURI().getMap() != '') {
if (gs.action.getGlideURI().toString().startsWith('api/now/form/mention/record/'))
current.addEncodedQuery("active=true^roles=snc_internal");
current.addActiveQuery();
}
}
} catch (errObj) {
gs.error('Global_Set_Filter_Mention-' + errObj);
}
})(current, previous);
0 REPLIES 0