- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2022 09:55 PM
I need help in sending a notification from a flow designer for a catalog item.
I have configured the notification and called it in the flow designer, all of it works. My issue is I also need to copy the director on this notification.
"Reporting director" is a user table referenced variable on the catalog item form. I need to include director in the notification. I cannot add the "who to send" in the notification itself as its dynamic based on the user input on the catalog form.
How do I achieve this?
Solved! Go to Solution.
- Labels:
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2022 10:35 PM
Hi,
You will have to include email script so that Reporting Director is included in CC
Include that email script in your notification
Script would be something like this
email.addAddress('cc', current.variables.reporting_director.email, current.variables.reporting_director.name);
Scripting for email notifications
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2022 10:05 PM
Hi
from the following playlist watch the last two videos; https://www.youtube.com/playlist?list=PLkQDoKoP0MAOMa7o_B8_hhtzoXMA7ZQaJ
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2022 10:23 PM
Hi Thomas
from the following playlist watch the last two videos; https://www.youtube.com/playlist?list=PLkQDoKoP0MAOMa7o_B8_hhtzoXMA7ZQaJ
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2022 10:35 PM
Hi,
You will have to include email script so that Reporting Director is included in CC
Include that email script in your notification
Script would be something like this
email.addAddress('cc', current.variables.reporting_director.email, current.variables.reporting_director.name);
Scripting for email notifications
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-29-2022 07:20 AM
Hi Ankur,
Thanks for helping me out.
I created a email script and called in the body of the email (message html) and when I preview the email in the sent its not including the director. Looks like I'm doing something wrong.