Skip to main content
Nintex Community Menu Bar

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

  • October 11, 2017
  • 2 replies
  • 17 views

Forum|alt.badge.img+3

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|corporatecbanque1
    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.

2 replies

Forum|alt.badge.img+14
  • Scholar
  • October 12, 2017

make sure notification is sent out as a plain text

209585_pastedImage_1.png


Forum|alt.badge.img+3
  • Author
  • October 12, 2017

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