How to dot walk a glide_list field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 03:47 AM
Hello,
How to dot walk a glide_list field in business rule

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 03:54 AM
Hi,
We cannot dot walk on glide_list field or List Collector variable.
Can you please share what exactly you are trying to achieve and what values you want read from referenced records?
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 03:55 AM
you can't dot walk glide list field.
you need to query the table with the sysIds and then get the field value
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 03:56 AM
Hello @Poompozhil
You cannot dot walk on list type fields. You will need to query the reference table with sys_ids from the list field and then get the required data from there.
For example: if you want locations of all watchlist users, you will have to write a GlideRecord on user table with condition as sys_id IN WATCH_LIST_FIELD_VALUE, then read the location value from user table.
Let me know if I misunderstood the question.
Thank you,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 03:57 AM
Hi @Poompozhil
We can do the scripting on glide_list. either as a part of query, update in form of array etc. Could you elaborate your use case.