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

yashkamde
Kilo Sage

Hello @jamesbet23 ,

 

If you want to know how the notifications triggers or sends, so we have one method in global i.e :

gs.eventQueue(eventName, record, parm1, parm2);

 

Also your "location.affected" notification is triggered in BR which you can refer to other responses..

 

If my response helped mark as helpful and accept the solution.

Yep is there any step by step on how to trigger that on Incident form? I did everything related to that table including the affected location related list it seems like the event still not trigger

share the screenshots of configuration you had done..

Also make sure you are checking this configurations during event is fired :

Screenshot 2026-02-17 211016.pngScreenshot 2026-02-17 211112.png

 

If my response helped mark as helpful and accept the solution.