How to add multiple emails at once in a GlideList User field ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2025 06:09 AM
Hello
I would like to have the possiblity to add multiple email addresses (coma-separated) at once in a GlideList field, the Watch List field as example.
Is it something someone got an idea ? I'm trying since a few days without success...
Enterring emails one by one works, but I would like to be able to do this with multiple.
Thanks
Jérôme
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2025 06:45 AM
You can use the below community post to get some idea on how to populate list type variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2025 06:26 AM
Hi @JérômeM ,
Are you trying to add multiple values in watch list at one Go?
If yes then you can do with the help of script. You can have an array and store sys_id of users and then g_form.setValue("watch_list", array_name);
Here you have to create Client Callable Script Include for pushing sys_id in an array and then rerun the array.
Then in Client script you can write g_form.setValue("watch_list", array_name)
This is high level on how you can set multiple values in your watch list. However the exact solution may differ depending on your scenario.
If my response helped, please mark it helpful 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
‎03-03-2025 06:29 AM
But I don't need sys_ids to be retrieved. I want to add for example : user1@test.com,user2@test.com,user3@test.com as a one go in the Email part of the glide list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2025 06:42 AM
not possible.
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