cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

XML tags - how do I include them in the body of an email notification?

Jump to solution

Hello!

I have a simple workflow that sends an email notification. I am trying to send the column values of the form with  XML tags in the body of the email, so that another application can pick it up and use the values transmitted. I enter the XML tags as texts, then insert the column/field names(see sample below):

<?xml version= '1.0' encoding= 'UTF-8'?>
<!DOCTYPE BioMed_Direct SYSTEM 'BioMed_Direct.v2.dtd' >
    <BioMed_Direct Cmd_Type='ADD' >
    <RequestReason>RequestReason</RequestReason>
    <BranchCCNo>BranchCCNo</BranchCCNo>
    <SubmittedBy>SubmittedBy</SubmittedBy>
    <WorkOrderNo>WorkOrderNo</WorkOrderNo>
</BioMed_Direct>

Unfortunately, when the email is sent, only the column/field values show in the body.

    New Rental
    BR12345
    i:0#.w|corporate\cbanque1
    WO98765
How do I format the body of the email, in the Send Notification workflow action, so that the XML tags are also displayed?
Thank you so much for the help.
Labels: (2)
0 Kudos
Reply
2 Replies
Workflow Hero

Re: XML tags - how do I include them in the body of an email notification?

Jump to solution

make sure notification is sent out as a plain text

Reply
Workflow Hero

Re: XML tags - how do I include them in the body of an email notification?

Jump to solution

Thank you, Marian! Sending the email as plain text retained the XML tags. I appreciate your help.

Reply