- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 01:08 AM
Hi
I am trying to print out the variable from flow designer in my email notification. I have tried 3 different ways I found online, but none seems to work. The last picture is from the preview email.
Email is able to trigger in the email log, but the variable iset_number1 does not.
Kindly assist.
This is a snippet from my email preview.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 02:03 AM
Hi @TashfiqueH ,
It seems like the syntax you've written is not correct. Please see my attached screenshot and use the same. You can also use the "fields" icon on the right to select the variables instead of writing manually.
Please accept my solution if it helps you.
Regards,
Vasanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 02:08 AM
you are setting flow variables and then using Send Notification.
You cannot directly use those flow variables in Email notification body, that's not how it works.
2 ways to handle
1) Use Flow 'Send Email" action and then you can use the Flow variables
OR
2) better you use Notification on that Import Set Table with condition as State Changes to Processed
Then use email body to add your content.
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
02-13-2025 02:25 AM
Hi @TashfiqueH , I understood that you need to pass the flow variables to your email body, one thing you can do is to use the 'send email' action, or
If you just need to retrieve that one flow variable, then create an event and then fire that email notification by firing that event through flow, so you can pass that flow variable through event parameter. You can get that flow variable in the body using - '${event.parm1}'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 01:35 AM
Hi, could you send a screenshot of the email notification—either the message HTML or where you're trying to retrieve this variable value?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 01:48 AM
Hi @TashfiqueH ,
Can you please send me your Notification "What it will contain" image. Coz your flow looks good to me.
Regards,
Vasanth.
Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 01:58 AM
here you go. Thank you for your reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 02:03 AM
Hi @TashfiqueH ,
It seems like the syntax you've written is not correct. Please see my attached screenshot and use the same. You can also use the "fields" icon on the right to select the variables instead of writing manually.
Please accept my solution if it helps you.
Regards,
Vasanth.