- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 10:57 PM
Hi All,
How to trigger notification if user added admin role using business rule? Kindly help me
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 11:07 PM - edited 11-29-2022 11:08 PM
Hi @Debarpita ,
Create a BR as below :-
(function executeRule(current, previous /*null when async*/) {
// Add your code here
gs.eventQueue('event.name', GlideRecord, parm1, parm2); // standard form
})(current, previous);
Create event from event registry and then create the BR.
After that create one notification as when event triggered and mentioned that event there.
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 01:25 AM
will check and reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 04:16 AM
Hi , i created br , event registry, notification it is working fine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 05:05 AM
Even response shared by me is correct.
As per new community platform feature you can mark multiple responses as correct.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader