Comments on: Subscribe to Multiple CIs at the Same Time in ServiceNow https://servicenowguru.com/scripting/subscribe-multiple-cis-time-servicenowcom/ ServiceNow Consulting Scripting Administration Development Tue, 28 May 2024 21:49:32 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: vineeth https://servicenowguru.com/scripting/subscribe-multiple-cis-time-servicenowcom/#comment-6198 Tue, 09 Aug 2011 17:58:48 +0000 https://servicenowguru.wpengine.com/?p=598#comment-6198 But the User field is a refernece field which expects a user id ? How can we pass the parameter to this field? Moreover the user field is not available when the notification is a subscribable one.

]]>
By: Mark Stanger https://servicenowguru.com/scripting/subscribe-multiple-cis-time-servicenowcom/#comment-6197 Tue, 09 Aug 2011 13:15:26 +0000 https://servicenowguru.wpengine.com/?p=598#comment-6197 In reply to Vineeth.

You collect those users in the business rule trigger and pass them in as an event parameter (as shown in step 2 above). Then you can access the value of that event parameter by using ‘event.parm2’ directly into the user field on the email notification record.

]]>
By: Vineeth https://servicenowguru.com/scripting/subscribe-multiple-cis-time-servicenowcom/#comment-6196 Tue, 09 Aug 2011 05:42:05 +0000 https://servicenowguru.wpengine.com/?p=598#comment-6196 In reply to Mark Stanger.

Mark-For the 2nd question when you have created the User field.How should we pass the event.param2 to User Field? User field is a reference field and how we can pass the parameters then?

]]>
By: Mark Stanger https://servicenowguru.com/scripting/subscribe-multiple-cis-time-servicenowcom/#comment-6195 Wed, 13 Jan 2010 17:30:39 +0000 https://servicenowguru.wpengine.com/?p=598#comment-6195 In reply to alli.

You can! Here’s an article that should help you out. It’s the same script that I used to set the filter in the image from this article.
https://servicenowguru.com/scripting/client-sc

]]>
By: alli https://servicenowguru.com/scripting/subscribe-multiple-cis-time-servicenowcom/#comment-6194 Tue, 12 Jan 2010 07:25:46 +0000 https://servicenowguru.wpengine.com/?p=598#comment-6194 I have implemented the first one and it looks great,

one small thing to add though, since we have tons of CIs

can you have a default filter in the CI list? so users won’t have to do the filtering on their own?

]]>
By: alli https://servicenowguru.com/scripting/subscribe-multiple-cis-time-servicenowcom/#comment-6193 Tue, 12 Jan 2010 06:25:20 +0000 https://servicenowguru.wpengine.com/?p=598#comment-6193 As always, your posts here is very timely with my needs,

Great work Mark, much appreciated

with the 2nd question, what I did was just change the condition of the existing Affected ci notifications business rule to suit my needs.

]]>