Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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?

7 REPLIES 7

PoonkodiS
Giga Sage

Ankur Bawiskar
Tera Patron

@Mike LHCG1 

share your flow step screenshot

this should not happen ideally

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

Hi Ankur,

 

I apologize for the delayed response.

I didn't see "Preview Email" under Related Links. When I looked at that, it looks fine.

 

Thanks,

Mike