Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Adding new lines into a task description

JamesBooth1
Giga Contributor

Hi

 

I am trying to add two blank lines between text and field values on a task description.

 

I am using task.description in the script part of the create task workflow item to define the description for the task to be created.

 

For example:

 

task.description = " Change plan " + current.change_plan

 

and I need two empty lines between Change plan and current.change_plan

 

I have tried both "\n" and "<br/>" to create the additional lines but they are being displayed in the description instead of the extra lines.

 

Where am I going wrong?

 

Any help would be most appreciated.

 

Thanks

1 ACCEPTED SOLUTION

Harish Murikina
Tera Guru

tried this way?


task.description = " Change plan \n" + current.change_plan


View solution in original post

5 REPLIES 5

Thanks Harish



The \n's have it (inside the speech marks)