- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2016 09:42 AM
Is there a way to do line breaks `<br/>` in the advanced script portion of a workflow activity:
Example:
task.short_description = "Line1" + "<br/>" + "Line2" + "<br/>";
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2016 09:46 AM
Hi John,
as it is javascript, could you please replace <br/> to "\n" and test again ?
Kind Regards
ZA
Do not feel shy to mark correct or helpful answer if it helps or is correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2016 09:46 AM
Hi John,
as it is javascript, could you please replace <br/> to "\n" and test again ?
Kind Regards
ZA
Do not feel shy to mark correct or helpful answer if it helps or is correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2018 02:17 PM
Hi Zica,
Can you check this please
In Catalog task, I am trying to modify 'Description' from workflow based on the drop
if(current.varaiables.zone == "1"){
task.description = "1) XYZ" + "\n" + "2) ABC" + "\n" "3) 123";
}
when i try using this script in advanced script, this is how description is showing up. Some value is showing in the Description field, but it is not visible. what i am missing?
Thanks,
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2016 09:47 AM
Hi Josh,
Are you trying to add line break to the short_description of task record?
Thats not even possible, because it is a single line text field.
Thanks
Srini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2016 09:49 AM
It is actually description