- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 01:03 PM
Hello- New ServiceNow Platform Owner here! We recently imported the location user attribute into our platform. When we run a report and add the location field, the user's location is returning as empty.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 01:59 PM - edited 04-02-2025 02:01 PM
Seems like you are trying to get data from Incident table and location column is emptry there, this location field is not auto populate for caller location.
We need to udpate the incident's location field with respective caller's location either manually or using some script when new incident created.
E.g. you can edit the location value in any of Incident and then check the report, this will display the value.
-
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 02:29 PM
Hi @MadelineA747953 ,
See the snip location information is different. Since one location is updated for incident and other location is caller Location. The caller location is available in the Incident form since we Dot walk the Caller field and bring the Location attribute of a caller in incident form.
Hope this help to distinguish between the two location fields. Use can use Dot Walk while creating report as well.
If my response helped, please hit the Thumb Icon and accept the solution so that it benefits future readers.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 01:48 PM
Hi @MadelineA747953,
Can you share the report configuration part, that how you are applying the dot walking path from User->Location table.
- If you shift this Location[+] field on right side, it will show the location value for users as configured.
- If you are looking for some other column from Location table then clik on hierarchy button above the ">" this will open the location table columns and you can select and shift to seleted side.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 06:20 AM
Thank you! I followed your instructions and this resolved incidents being submitted on the classic view however, incidents being submitted through the Employee Center continues to show user location as empty. Any thought on how to resolve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 12:11 PM - edited 04-03-2025 12:21 PM
This can be resolve by adding one line code in record producer [on Incident table]
current.location = gs.getUser().getRecord().getValue('location');
Result:
Note: You need to check the record producer name which is used for creating incident from Employee Center Portal in your instance.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution