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

Thank you for your replay. My requirement is if i pass a windows server sys_id .I should get Business services consuming that particular CI.Sometime that function is not working .


Hi Chuck,

I gone through few forums and found Service Configuration Item Associations gives the relation between CI and Business services,Is it right path to follow.


Please help. I struck here from last 2days,


The key to making this happen is in the CIUtils script include. The two lines of "Refresh Impacted Services" to focus on are these:



    var ciu = new CIUtils();


    var services = ciu.servicesAffectedByCI(ci_sys_id); // where ci_sys_id is the CI you are checking.



At this point you should have an array of business service sys_ids in the services variable.