I see what you’re trying to do, and my “answer”/test results are below:
Apologies if this is rather simple, I like to “talk” through a problem…
Step 1 is a Human Task
Open a page with a Rich Text Field on it
enter text with multiple lines using the enter key as required…
Step 2 is a Service Task
with an email connector
In the message you are placing the message typed in step 1
The message gets sent…
And you are seeing a single line in the received email rather than the proper message with new lines in it.
This is what I did
Pool variable - t1 Text
Step 1 is a Human Task
Application page with a Rich text field on it
Output operation is t1 Takes value of field_Rich_TextArea1
Step 2 is a Human Task - this is a sanity step for data validation - not necessary but used purely as a debugging mechanism
On it we have a Rich text field pointing to t1;
AND a text field also pointing to t1
Step 3 is a Service Task
with an email connector
the message text is set to variable t1
When running I add text in Step 1,
in Step 2 the Rich text field shows the same formatting as typed in in Step1,
and the text field shows me the following (in this example)
this is my (line 1)
multiline (line 3)
test (line 5)
This shows me the field has the newlines in it, and any other formatting applied, this step should be removed in normal use
and Step three sends the email.
The email is received correctly with all the formatting in it including the new lines…
It works for me…so I don’t know what’s happening in your case. It works here.
Here is a dropbox link to the BOS I have working…Hope it helps
6.4.2 by the way!
regards
Seán
https://www.dropbox.com/s/13rwdfnjgdgibvk/TextBox-1.0.bos?dl=0