Applescript javascript multiple line
set myCaseNote to "MULTIPLE\\nLINE\\nTEXT\\nHERE"


Splitting the string over several physical lines as you did causes a syntax error in the JavaScript.  Use a newline character instead.

I see you really love sticking on those empty strings at the end of your concatenations.  I now recognise this as your trademark.



I momentarily deleted this answer when it didn't work as expected.  Then I realised the newline character \n needs to be escaped twice, so it's written as \\n.

It's working now.