- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2019 04:38 PM
I am using a list collector that references the sys_user table to capture which users need access to a product using a catalog item. Once the work is complete the workflow is set to send a notification to these users but I am unable to get it to work.
answer = [];
answer.push(current.variables.users_needing_access.sys_id);
Solved! Go to Solution.
- Labels:
-
Notifications
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2019 11:13 AM
The answer was actually very simple. List collectors already save users in a comma separated list as required by notifications. I was very much over complicating it.
Heres what I ended up with that worked, I should have tried this first:
answer = [];
answer.push(current.variables.users_needing_access);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2019 11:13 AM
The answer was actually very simple. List collectors already save users in a comma separated list as required by notifications. I was very much over complicating it.
Heres what I ended up with that worked, I should have tried this first:
answer = [];
answer.push(current.variables.users_needing_access);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2020 09:23 AM
Hi this works perfectly, but how can we send this to individual users, separately?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2023 10:12 PM
var answer = current.variables.<variable name>.toString(',');