Skip to main content
Nintex Community Menu Bar
Solved

How to keep line breaks in NWC task assignments


Forum|alt.badge.img+2

Hi guys,

We are using an internal API to call Nintex and assign tasks. 

We will be passing it several blocks of text and I would like to somehow format it correctly into the task emails. A basic element is creating a line break, but I cannot get it to work. The number of items in the list can change each time, some runs it wont have a list at all.

Step 1. Create a string with line breaks.

Step 2. Looks okay in the Instance details.
 

Step 3. Email arrives and the formatting is gone, and it’s all one sentence.

Is there any steps I am missing to achieve this? Thank you!

Best answer by Jake

Hi @JimOw 

 

Emails sent via Nintex now have support for HTML, the method I like to use is to build the format i want in the email action first then use the HTML button to take it and build my string:

 

Notice the HTML button on the ribbon, you can expand the edit area for a better view.

Then this will show you the HTML for a valid email.

 

Taking this into a string action will give us the correct output. 

 

 

 

And this should be the output:

 

 

View original
Translate
Did this topic help you find an answer to your question?

Jake
Forum|alt.badge.img+13
  • Scholar
  • May 1, 2024

Hi @JimOw 

 

Emails sent via Nintex now have support for HTML, the method I like to use is to build the format i want in the email action first then use the HTML button to take it and build my string:

 

Notice the HTML button on the ribbon, you can expand the edit area for a better view.

Then this will show you the HTML for a valid email.

 

Taking this into a string action will give us the correct output. 

 

 

 

And this should be the output:

 

 

Translate

Forum|alt.badge.img+2
  • Rookie
  • May 1, 2024

Amazing, that worked - thanks a lot @Jake !

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings