Please share any example to write HTML code into the Expression rule
Discussion posts and replies are publicly visible
Check the below code
a!localVariables( local!community:"SOMETHING", concat("<html> <head> </head> <body> <p><em><b>This e-mail has been sent by ujjwal</p> <div > <p>The Business Case for ", " - " , local!community , "</p> <p></p> <p><em>Please note: This is a system generated message and emails to this address will not be read or replied to xyz</p> </div> </body> </html>") )
how can we use this expression rule as a HTML template in place of a Document constant? (email smart service)
Store the HTML in a process variable and use that in the message body.
wat we need to select or add here in order to use the expression rule.
Select insert an expression.
Thank you
can we make it dynamic with some variables like
name: pv!name
Yes, you can use process variables to make it dynamic
please pass your html body content in your expression rule and then use the rule input in concat function in that expression rule.
but showing an error when I debug the process model