- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 10:52 AM
I want to add the ITIL role to Promote major incident UI action. ITIL users are also able to see the promote UI action and they can promote the incident to Major incident. I have added in the condition but it is not working.
new sn_major_inc_mgmt.MajorIncidentTriggerRules(current).canPromoteMIC() && gs.hasRole('itil');
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 12:01 PM
Hello,
You have added 'AND' condition instead of 'OR' so try below
new sn_major_inc_mgmt.MajorIncidentTriggerRules(current).canPromoteMIC() || gs.hasRole('itil');
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 12:01 PM
Hello,
You have added 'AND' condition instead of 'OR' so try below
new sn_major_inc_mgmt.MajorIncidentTriggerRules(current).canPromoteMIC() || gs.hasRole('itil');
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 12:05 PM
i try that and is not working