ServiceNow Learning 52: Send Email action doesn't support ALL HTML Content Body.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 08:50 AM - edited 11-04-2023 10:27 PM
Hi All,
I have recently tried to trigger email from "Send Email" action from Flow Designer however got to know that it doesn't support HTML Content Body in it and throws the below error message:
Workaround is you convert the HTML Body to String or text in some action and then pass that to body in this action.
My use case was to get the latest reply on this case and then sends the reply latest comment as a body to Case Manager so I used below action:
Get Latest Response Text from Email
Then I passed the output of this action in the body of my Send Email Action.
This worked for me and solved my issue.
Hope it helps you.
I hope this article helpful. Please mark it as helpful and bookmark if you like it.
Thanks,
Shamma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2023 04:30 PM
Of course it supports HTML Content Body, you just misinterpret the error message.
It does not say that it does not support HTML, but that your HTML is not valid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2023 10:17 PM
Yeah I tried with multiple HTML body with basic HTML also. It throws the same message. If someone wants to use this action with heavy HTML content which uses tabular structure and valid signature it throws this error however if I use the same HTML in notification body it runs perfectly.
So yeah it might support HTML but in my case it doesn't support none of my HTML bodies. Also, it doesn't tell me which part of my HTML body is incorrect.
I would probably search more on support articles and find more insight and add it here.
Thanks for your reply
Thanks,
Shamma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2023 10:26 PM
I am facing the same as Stephen is in the below email trail. I am still finding the better solution so that it accepts all HTML