<p data-tinymcerootblock=""> - Flow 'Send Email' Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2023 07:54 AM
Hey, just a general question - Anyone know what the <p> tag added to all the flow email action lines is for? I see that there is a Tiny MCE library, with a root block functionality, but does anyone know what it's doing for the Flow "Send Email" action here?
It's used for just regular text like this:
<p data-tinymcerootblock=""> </p>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2023 11:48 PM
Hi @Kelly Logan
unfortunately I have no idea, however I cannot recommend using the "Send Email" Flow action. Imagine whenever you have to change the email's content how have to modify and republish the flow. This makes no sense, and even ServiceNow itself recommends using the "Send Notification" action instead. That way you can benefit from all options a notification has (templates, translations, etc) and you don't need to touch a Flow anymore.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2023 11:29 AM
I did find out why - the HTML fields use the Tiny MCE editor, so presumably it pastes those headers in on all the lines it controls.
Also, that's a good point. I was originally using the Send Email action because I needed to attach a file to the email and it seemed like the only way to do that was to use the attachment copy action after generating the email.
I did find the Attachment Catalog Item variable type though so I'm going to see if that works, just pasting it into the email content in a notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2023 11:36 AM
Ah, the other snag. There's a bunch of decision making that the flow does before determining whether or not to send a notification and the Send Notification doesn't have any way I can see to pass the decision results on to be included in the notification.
I could use the task description maybe, but that's not very elegant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2024 06:08 PM
I ran into a similar problem - the Send Notification step removes some of the programmatic tools available when you use the Send Email step (mainly, the ability to identify the fingerprint of the original email, then read replies to the original emails, and similar functions). Additionally, we already have a lot of similarly named Email Notifications, with some using Email Templates, and additional child objects, making it confusing when trying to control content. Sometimes a "Send Email" step shorts the chain between object and intuition of the object's purpose.