Using list collector variables to create glide records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2016 09:43 AM
Hello Everyone.
I have request with a list collector where a user selects users to be added to a group.
What is the best way to take the selected users from the list collector and add them to the selected group?
I'm guessing the best way to do this in a workflow would be to create a new glide record on the sys_user_grmember table but I cant figure out how to pass all the sys_id's of the selected users into the script that creates the new record.
Hope that makes sense.
Thanks
Harry
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2016 11:51 AM
Ok I've added it into the code but nos sure where to retrieve the log.
I really do appreciate your help with this. If I can get this working it will make my day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2016 12:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2016 12:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2016 12:40 PM
Are you sure that you entering the correct variable name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2016 12:49 PM
good call, spelling mistake.
The log shows comma seperated sys_id's of the users selected:
0f6818f144112c404eebd0bd54531376,053f0fd543d850004eeb673ba24afcaf