- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2013 11:41 AM
if you are using an advanced script in a catalog task.. how do you insert a line break?
for example
task.description = 'This is line one';
task.description = task.description + 'what code goes here' + 'This is line two';
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2013 12:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2018 02:16 PM
Hi Aaron,
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
‎10-05-2020 02:40 AM
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2013 11:59 AM
i have also tried
"/n"
'/br'
"/br"
'/n/n'
"/n/n"
'/n/r'
"/n/r"
'&nsbr'
"&&nsbr"
all of them just get embedded into the text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2013 12:09 PM
THAT did it!