Need help with removing HTML tags from the Body field in the Send Email action in Flow Designer

Mike LHCG1
Tera Contributor

I have a requirement that includes triggering a catalog task to a specific person, and once that task is closed, which could take hours or days, I need to send an email to an email address with a static message like "Maintenance in Building 1 Floor 2 is complete.

 

I'm using the send email action in flow designer to send an email to a distribution group and my issue is that I end up with a bunch of HTML tags in the message.  How do I strip those tags away so just the human readable message is in the email? Does anyone have an example of an inline script that does this...one that I would type into the "Body" field of the send email action?

3 REPLIES 3

PoonkodiS
Mega Sage

Ankur Bawiskar
Tera Patron

@Mike LHCG1 

share your flow step screenshot

this should not happen ideally

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader