- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 09:24 AM
StacyLen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 09:54 AM
Hi @Stacy2 ,
try this
new GlideQuery('sys_user')
.where('active', true)
.where('user_name', 'walt.disney')
.select('user_name', 'sys_id', 'mobile_phone')
.forEach(function(u) {
gs.info('\n' + 'user name = ' + u.user_name + '\n' + 'sys_id = ' + u.sys_id + '\n' + 'mobile phone = ' + u.mobile_phone);
});
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 10:07 AM
Hi @Stacy2
Thanks for marking my response as helpful
If my response helped could you please accept it as a solution and close the thread?
Thanks
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 09:54 AM
Hi @Stacy2 ,
try this
new GlideQuery('sys_user')
.where('active', true)
.where('user_name', 'walt.disney')
.select('user_name', 'sys_id', 'mobile_phone')
.forEach(function(u) {
gs.info('\n' + 'user name = ' + u.user_name + '\n' + 'sys_id = ' + u.sys_id + '\n' + 'mobile phone = ' + u.mobile_phone);
});
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 10:00 AM
thanks Chaitanya ILCR
Help me out here.... are my eyes bad. I could see absolutely no differences between your suggestion and what I posted (except for a line return). But yet when I copied yours, it worked. No compilation errors
StacyLen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 10:07 AM
Hi @Stacy2
Thanks for marking my response as helpful
If my response helped could you please accept it as a solution and close the thread?
Thanks
Chaitanya