- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2025 01:07 PM
I’m facing an issue in Flow Designer: I need to send emails to some users, but the email information is stored in a field with the "list" format.
Currently, I’m using the Lookup Record action to retrieve user data, but the returned values are in sys_id format. These sys_ids are stored in a variable in Flow Designer. After that, I need to query another table to get the emails corresponding to these sys_ids and, finally, use these emails in the Send Email action to send the notifications.
Does anyone know how I can properly achieve this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2025 04:57 PM
Hi @MatheusR,
- After Step 1: Look Up Records, do a 'For each'. (assuming these are the records with your email addresses)
- Loop through each record returned and append the email address to your variable.
- Use the variable containing all the email addresses in your notification.
Example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2025 04:57 PM
Hi @MatheusR,
- After Step 1: Look Up Records, do a 'For each'. (assuming these are the records with your email addresses)
- Loop through each record returned and append the email address to your variable.
- Use the variable containing all the email addresses in your notification.
Example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2025 07:02 PM
you can use For each after lookup records
Then iterate over and use Send Email for each of the loop
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
01-09-2025 04:59 AM
Thank you for marking my response as helpful.
As per new community feature you can mark multiple responses as correct.
If my response helped please mark it correct as well so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader