We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Does any on know how to trigger the location.affected notification

jamesbet23
Tera Contributor

Anyone knows how this notification trigger or sends?

1 ACCEPTED SOLUTION

Sure, to trigger the event:

  1. Add location affected [task_location] record with a reference to a task table record and a location [cmn_location]
  2. Update record (br is only update not insert)
  3. location.affected event fired, confirm from [sysevent].

Note that if you have location hierarchy setup properly the event will bubble to the top of the parent-child hierarchy.

 

Might be you are actually struggling with the subscribable notification. So, how to trigger the notification?

  1. It is a subscribable notification so you need to subscribe to it [sys_notif_subscription] by using the notifications preferences experience for example lauri457_0-1771388756164.png
  2. When you are testing it notice that the email is set to not send to event creator so if you update the incident you won't get the notification OOB
    lauri457_1-1771388917536.png

 

 

 

View solution in original post

12 REPLIES 12

Sure, to trigger the event:

  1. Add location affected [task_location] record with a reference to a task table record and a location [cmn_location]
  2. Update record (br is only update not insert)
  3. location.affected event fired, confirm from [sysevent].

Note that if you have location hierarchy setup properly the event will bubble to the top of the parent-child hierarchy.

 

Might be you are actually struggling with the subscribable notification. So, how to trigger the notification?

  1. It is a subscribable notification so you need to subscribe to it [sys_notif_subscription] by using the notifications preferences experience for example lauri457_0-1771388756164.png
  2. When you are testing it notice that the email is set to not send to event creator so if you update the incident you won't get the notification OOB
    lauri457_1-1771388917536.png

 

 

 

This is so helpful thank you regarding the task_location is it the Affected Location on the related list of the Incident?

Tanushree Maiti
Giga Sage

BR Details:

Name : Affected location notifications

Table : Task

Below is the screenshot for location.affected event:

TanushreeMaiti_0-1771306515752.png

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

@Tanushree Maiti 

The answer was already shared by @lauri457 

Any reason to share the same again and repeat?

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

How is it related to incident though is there any step by step to trigger this one I am sorry as I already tried everything I can and the event is not firing