Does anyone know the character ServiceNow uses for new line adding comments from inbound email

abrahams
Kilo Sage

When we send out a comment that has been populated by an inbound email action it doesn't have any carriage returns or new lines.  It is all strung together.  I see the inbound email has <o:p>.  I would like to replace whatever character is being used with the appropriate code to show on a new line. 

 

Would anyone know how ServiceNow translates that and what character is being stored in the journal field?

1 ACCEPTED SOLUTION

Ethan Davies
Mega Sage
Mega Sage

You can do something like this for journal fields as provided here.

 

target.work_notes = "[Column A Name]\n" + your_first_field + "\n\n" + "[Column B Name]\n" + your_second_field;

 

View solution in original post

1 REPLY 1

Ethan Davies
Mega Sage
Mega Sage

You can do something like this for journal fields as provided here.

 

target.work_notes = "[Column A Name]\n" + your_first_field + "\n\n" + "[Column B Name]\n" + your_second_field;