- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2019 04:58 AM
Hi All,
I have one Variable which is referring to the sys_user table and when that variable is set then i need to auto-populate the users groups in the list collector variable.
Please help me to set the groups of user in the list collector variable.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2019 05:10 AM
Hi Ayushi,
You could set the glide_list attribute on the List collector to make it behave like a normal platform List field. Once the attribute is set, you can set comma separated sys_id's of users directly using g_form.setValue('') without any complex scripting in it. Also it will work on service portal as well.
ie g_form.setValue('list_field' , '1,2,3,4,5'); // comma separated sys_id's of user.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2023 01:16 PM
Links above do not work. Most ServiceNow articles with links no longer work...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 03:27 AM
Yeah most of the links are just redirecting to home page