- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:21 AM
Hi ,
My flow is failing due to errro caught in the email action step as Email body is comprised of Invalid HTML.
Need help in fixing this.
Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:24 AM - edited 01-13-2025 04:25 AM
you can use some regex to remove unwanted HTML
check this link and ensure you do this before using the "Send Email" flow action so that a clean HTML is passed to it
Email validation failed: Email body is comprised of invalid HTML.
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
01-13-2025 04:32 AM
steps are mentioned here.
check this link and ensure you do this before using the "Send Email" flow action so that a clean HTML is passed to it
Email validation failed: Email body is comprised of invalid HTML.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:23 AM
seems your email body has some unwanted characters
Did you check from where the email body is formed? i.e. which all fields are used in email body
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
01-13-2025 04:31 AM
Hi Ankur, my email body is composed of many catalog variables which may contain combination of different symbols & regrex.
I have checked the post you have mentioned, but unable to understand how I can use that action in my flow designer ? Can you please explain the steps after creating that action ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:32 AM
steps are mentioned here.
check this link and ensure you do this before using the "Send Email" flow action so that a clean HTML is passed to it
Email validation failed: Email body is comprised of invalid HTML.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:24 AM - edited 01-13-2025 04:25 AM
you can use some regex to remove unwanted HTML
check this link and ensure you do this before using the "Send Email" flow action so that a clean HTML is passed to it
Email validation failed: Email body is comprised of invalid HTML.
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