exlude info message for workspace
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2024 11:11 AM
Hello everyone
i have created a display businees rule to get info message on incident when priority level is low, but
the info message is working on global now am trying to exclude this message for service operations workspace how can i acheive this?
Thank you!
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2024 11:52 PM
For starters: why not put the message triggered through a BR in the message field ('Actions' tab)?
But for your requirement: create a scripted UI policy to show a message. You can apply a view to that.
Or try something like this, although it can be buggy:
(function executeRule(current, previous /*null when async*/) {
var sessionURL = gs.getSession().getUrlOnStack();
// Check if the URL contains the Service Operations Workspace path
if (sessionURL.indexOf('sow') > -1) {
return;
}
message code
})(current, previous);
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark