You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **getLoggedUserCountryLocs** Script Include is a custom ServiceNow utility that retrieves all users who belong to the same **country** as the **currently logged-in user**.
6
+
7
+
It performs this by:
8
+
1. Fetching the logged-in user's country (based on their location record).
9
+
2. Identifying all location records that belong to the same country.
10
+
3. Gathering all users assigned to those locations.
11
+
4. Returning a GlideRecord-encoded query string (`sys_idIN...`) that can be used to filter or query other records.
0 commit comments