- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2020 03:29 AM
Hi ,
am using business rule to capture the current work note as below code ,But requirement is when work note updated than only have to capture the work note and send to 3rd party tool .please guide me
current.work_notes.getJournalEntry(1)
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2020 05:52 AM
You can have condition in BR
current.work_notes.changes()
To get the latest work notes value use this
current.work_notes.getJournalEntry(1)
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2020 03:48 AM
Hi
You can write a aysc Business rule(with conditions work notes changes) which will call your REST Message and then you use.
Work Notes
var notes = current.work_notes.getJournalEntry(-1); // -1 for all the work notes value , 1 for latest work notes value
Comments
var notes = current.comments.getJournalEntry(-1);
Regards
Pranav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2020 04:15 AM
Hi
Is any possibility to get the only last updated worknote value ,So that i can compare with current worknote and validate in script !

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2020 04:19 AM
So you are saying the latest work note or the one that was entered before ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2020 04:21 AM
Means ...want the latest work note and one that was entered before both the values ,So i can compare and validate in script