Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to Pass group as Event parameter

prasad48
Tera Guru

I am trying pass group as event parameter and In notification i am selecting Parameter1 has recipient.

System sending notifications to group email but my requirement is to send notification to each member in group.Please help

7 REPLIES 7

Chuck Tomasi
Tera Patron

Pass the event parameter as the group's sys_id. From there, use a mail script to take the event.parm1 and get all the members from the table sys_user_grmember.



Scripting for Email Notifications - ServiceNow Wiki


Email Notifications - ServiceNow Wiki


Hi Chuck Tomas,



Thanks for your response in weekend .I have small requirement in Change Management.My requirement is I need Business service details of a CI.



For Example: If i pass Sys_id of any CI to a function, It should return all business services associated with that CI



Thanks


prasad Kodumuri


Take a look at the UI action "Refresh Impacted Services". It should get you started in the right direction.



Change YOURINSTANCE in the URL below to your instance.


https://YOURINSTANCE.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=d51c8a6b0a0a0b1d01bf38b30...


Let me know if you are blocked on anything related to this issue/question.