- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2021 08:17 AM
I've created a flow that has an action to pull the emails from sys_email table. The Action is working perfectly but when I try to add the information to the Email in the Flow I'm getting the following error:
Has anyone had this and know how to get it to render correctly?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2021 02:15 PM
I figured it out, I put some regex in there to strip out the unwanted HTML code that was causing the problem <head></head><html></html><body></body>.
Works great now.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2021 08:35 AM
Hi ,
Please refer the below link.
Hope it helps.
Regards,
Ujjawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2021 08:50 AM
Not really helpful in my situation, There is no answer on the link you sent. I have an action that pulls the emails into an array so I have all of them then I'm simply running the action on the flow and getting the output.
I did log the output from the action and it's all HTML but I'm wondering if there is something in the email HTML that is screwing with the Send email action causing the error. I'm trying to get around the error.
Our HR team wants a copy of the emails as proof and simply just sending the same the infor in step X is not good enough, I want to include the header information as well.
Either need a way to get this in or strip all the HTML out or render it as text with the html tags in it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2021 09:13 AM
Can you share email body from the flow. I faced the same issue. Email body was copy paste from normal notification and ${email} script was in it.
So please verify.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2021 09:48 AM
it's not a notification script it's an SEND EMAIL flow design action