How to trigger notification if user added admin role using business rule

Debarpita
Tera Contributor

Hi All,

 

How to trigger notification if user added admin role using business rule? Kindly help me 

1 ACCEPTED SOLUTION

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Debarpita ,

Create a BR as below :-

GunjanKiratkar_0-1669792008827.png

 

(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

View solution in original post

12 REPLIES 12

will check and reply

Hi , i created br , event registry, notification it is working fine

 

@Debarpita 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader