
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 06:01 PM
I've managed with help to convert list collector values to a string, but I can't seem to get some email addresses to present the way they do to be read in the notification in order to be sent, would love some help please.
So currently the email addresses are being presented as so:
'zxy@email.com', 'abc@email.com', 'plo@email.com'
What I need it to look like is the same thing without the ' ' around the addresses:
zxy@email.com, abc@email.com, plo@email.com
The script I have for adding the values to the flow variable is:
var add_list = fd_data.flow_var.add_user_list;
if (add_list == '')
add_list = '\'' + fd_data._15__look_up_record.record.email.toString()+ '\'';
else
add_list += ',\'' + fd_data._15__look_up_record.record.email.toString() + '\'';
return add_list
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 07:46 PM
@Ankur Bawiskar & @Sandeep Rajput
I have actually managed to get it 'working' with the following code:
var add_list = fd_data.flow_var.add_user_list;
if (add_list == '')
add_list = fd_data._15__look_up_record.record.email.toString();
else
add_list += ', ' + fd_data._15__look_up_record.record.email.toString();
return add_list;
The email logs also show that it appears to work:
But none of the emails were received at all by the recipients and our infrastructure guys have confirmed that it was never received in our organisation.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 09:39 PM
Glad to help.
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 02:30 AM
@Bidduam This is what my last response suggested.