Back slash character in a ProcessFlow

 3 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
BarbR
New Member Send Private Message
Posts: 0
New Member
I am writing a process flow that needs to add a back slash character to a record it is writing out (the end of the record type 7 on an ACH tape Child Support Addenda record).
Every time I try to assign the back slash character to a variable my process flow client closes ("crashes").  Any thoughts on how I can add this character to my output record?
Bob Canham
Veteran Member Send Private Message
Posts: 217
Veteran Member
Try using two back slash characters "\\". In javascript the back slash is used as an escape character, so it was expecting something to appear after it. An example would be a new line character is "\n". If you use two back slashes, then it should actually put the second one in.
John Henley
Send Private Message
Posts: 3351
You can also assign in JavaScript:
var backslash = String.fromCharCode(92);
Thanks for using the LawsonGuru.com forums!
John
BarbR
New Member Send Private Message
Posts: 0
New Member
Perfect - worked like a charm!  Thanks to both!