I am sending an email which has an edit email option button.
When I am sending without editing the email, it is well formatted as written in my expression rule.
When I am sending the email, after clicking the edit email button, it is getting stored in the PV and the email comes like a whole paragraph
How to deal with it?
Discussion posts and replies are publicly visible
After editing the email body text in the interface, apply the substitute function to replace the char(10) with <br>.
Example substitute(pv!editedEmailBody, char(10),"<br>")
You can apply this function either in the interface level or process level.
substitute( "This is the text from expression. This is the new line from the expression", char(10), "<br>" )
This is the text from expression.This is the new line from the expression
© 2021 Appian. All rights reserved.