Display Business Rule
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 01:21 AM
Hello All,
Hello All,
Kindly help me with the below requirement,
If User is securonix admin.
impact=1
urgency =1
Priority = High
If impact =2
urgency = 2
Priority = Low
I have written a display business rule for it, but it does not work:
function executeRule(current, previous /*null when async*/) {
if (current.impact == 1 && current.urgency == 1 && current.caller_id.user_name == 'securonix admin'){
current.priority = 1;
})(current.previous);
Please help me with the script as it doesnot work .
15 REPLIES 15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 03:30 AM