Help with creating alert containing a multiple-line message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 01:47 PM - edited 05-13-2024 01:49 PM
I am using the API to create Alerts using https://xxxxxx.service-now.com/api/global/em/jsonv2 to ingest events from our old monitoring system. The old system had two description fields, brieftext (single line) and fulltext (multi-line). What I'm hoping somebody can advice on is, the best way to get both fields into a Servicenow alert. I've found I can do this by setting the description field in the call to "<brieftext>\n<fulltext>\n", e.g. "Line1\nLine2\nLine3\nLine4\n". However the downside to this is, as per yellow highlighted section on the screenshot the lines run together at the top of the screen. Any ideas how I might stop this? I am using Washington release.
Thanks
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 03:15 PM
Hi Mike,
you can't I think - this is sinle line string field so no both UI16 and workspace its not taken into account (new lines). I tested it and it works if I use multi line , but dont do this for short description.