Paragraph Field Data into Body of Email

Hi All,

I am having a paragraph field where the field will be populated with the data, which comes as a template content. Now user can edit some of the Content in the screen and click on send Email,

 

Now the Body of the email would be updated data in paragraph field.

 

Eg: data which comes In Paragraph field

ABC

After editing

ABC

THis is sample

Thanks and regards,

Harsha

 

Now when I show it in body it is changing to

ABC This is the sample thanks and regards, Harsha

It is coming on a single line rather than in the lines specified in the Paragraph field

 

Is there any where to retain the same format as is....

Please suggest

Harsha :)

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Make use of an email template.
    Save your paragraph field data into a rule input and then into a process variable. Lets say pv!emaildata.

    Create an email template i.e a .txt file like shown below:

    ###Data###

    Save it and the upload it into Appian.

    Now, in your process model, select the send email node and in the Message body section, select the radio button that says, "Use a text or HTML Template". Click on choose document and select the .txt document which you uploaded earlier.
    You will see that "Data" appears in the "Find in Template Document" section. Then in the "replace with" section, choose the process variable which holds your paragraph field data. i.e. pv!emaildata.
    Hope this helps.
Reply
  • 0
    Certified Lead Developer
    Make use of an email template.
    Save your paragraph field data into a rule input and then into a process variable. Lets say pv!emaildata.

    Create an email template i.e a .txt file like shown below:

    ###Data###

    Save it and the upload it into Appian.

    Now, in your process model, select the send email node and in the Message body section, select the radio button that says, "Use a text or HTML Template". Click on choose document and select the .txt document which you uploaded earlier.
    You will see that "Data" appears in the "Find in Template Document" section. Then in the "replace with" section, choose the process variable which holds your paragraph field data. i.e. pv!emaildata.
    Hope this helps.
Children