This might be a tricky question with a difficult answer, but any help or direction is greatly appreciated.
We are trying to create a user email process using BPEL. The idea we have is have a repository of email templates with key words within the HTML code (i.e. - [FIRST NAME]). So the message would look like the following:
h4. "Greetings [FIRST_NAME],"
The user would submit an XML request submitting the essential details for email (from, to, subj, body, etc) along with a series of XML tags and data, like the following (shorthand):
One way to do it, but probably not the cleanest, is to copy ur XML content into an String Var, and then , inside a JAva Embedded activity, make the find-replace.
Then, just make a new assign with the String variable, into ur variable that represents the message .
For this last step, u should use a ora:parseEscapedXML() function.