- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 12:56 PM
hi all,
I've got a piece of script that is putting some text in the work notes on incidents. How do I get part of the text to show in BOLD?
incident.work_notes = "Transferred from request " + request.number + "\n" + "\n" + request.work_notes.getJournalEntry(-1) + "\n" + "Details from ERP Request" + "\n" + note;
I want the "Details from the ERP Request" to show in bold in the work notes.
thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 01:04 PM
Here you go.
incident.work_notes = "Transferred from request " + request.number + "\n" + "\n" + request.work_notes.getJournalEntry(-1) + "\n" + [code]<b>"Details from ERP Request" </b>[/code]+ "\n" + note;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 01:04 PM
Here you go.
incident.work_notes = "Transferred from request " + request.number + "\n" + "\n" + request.work_notes.getJournalEntry(-1) + "\n" + [code]<b>"Details from ERP Request" </b>[/code]+ "\n" + note;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2021 05:30 PM
This answered a totally different question I had--thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 01:09 PM
thanks Pradeep!
I actually did this and it worked.
var txt = "[code]<b> Details from ERP Request </b>[/code]";
incident.work_notes = "Transferred from request " + request.number + "\n" + "\n" + request.work_notes.getJournalEntry(-1) + "\n" + txt + "\n" + note;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 03:48 PM
I so hoped this would work in agent workspace but it did not