Notifications

spectura77
Tera Contributor

H experts,

 

I wanted to know if there a way to send notifications dynamically to users my requirement is to send notifications to the proposed people or last used member of the standard change template. I have configured the notification i want to know how can i send it dynamically.

 

Please guide.

8 REPLIES 8

When are you triggering the notification?


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

I am triggering the notification on 1st,10th,20th of every month

 

Regards,

Deepak

Use EventQueue concept and  send Param1 with value from standard change proposal opened user


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

If Your notification is on other table then you have to trigger notification with events.

1.Create an event - https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/platform-eve...

2. Write after insert/update BR with trigger conditions as per your requirement.

3. Query the standard change proposal table to get the opened by user details.

Send the user details in Param1 of EventQueue

 

Use EventQueue Method in Your code to trigger the event.(This will Trigger your step 4)

gs.eventQueue('event_name',current,parm1,parm2);

 

4.Configure your Notification Trigger to 'Event is Fired' with event created in step1

 

There are multiple articles explaining this concept, Please go through them for better understanding

https://www.servicenow.com/community/developer-articles/servicenow-notification-servicenow-notificat...

 

https://developer.servicenow.com/dev.do#!/learn/courses/washingtondc/app_store_learnv2_automatingapp...

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP