How Data gets Populated in Task _location table

kummara _siva
Tera Contributor

Hi All,

Recently I am going through Affected location relatedlist on incident table.I found there is no data in that even in task_location table as well. I want to know when an incident is created how to populate the data in the affected location table.please help on this.

Thanks All.

1 REPLY 1

mujeebqasimi
Kilo Contributor

yup, nothing fills Affected locations by default. you populate task_location yourself (e.g., BR/Flow on Incident create/update, or on task_ci insert to mirror CI locations).

quick ref that shows the same approach (auto-adding to affected locations via BR):
https://www.servicenow.com/community/developer-forum/autopopulate-affected-location-related-list-in-...
https://www.servicenow.com/community/itsm-forum/in-related-list-i-can-ad-affected-location-but-where...