- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 06:50 AM
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
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 06:56 AM
tried this way?
task.description = " Change plan \n" + current.change_plan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 06:55 AM
How about:
task.description = " Change plan " + String.fromCharCode(13) + current.change_plan;
Not sure it'll work but it's worth a try.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 06:56 AM
tried this way?
task.description = " Change plan \n" + current.change_plan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 06:59 AM
that is a string field .. not sure HTML is gonna work there ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 07:00 AM
Thanks Harish & Chris
I will try both of these options.