- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-06-2018 01:10 AM
How to set the values in work notes my scenario is when I press reopen button work notes should be updated with the "incident reopend by"<current user> at <current time>
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-06-2018 01:43 AM
In your Reopen UI action, you could try using below code,
var notes = 'Incident reopened by '+gs.getUser().getDisplayName()+' at '+new GlideDateTime().getDate();
current.work_notes.setJournalEntry(notes);
current.update();
Mark Correct if this solves your issue. Hit Like/Helpful based on the impact of this solution.
-Regards,
Udhay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-06-2018 01:43 AM
In your Reopen UI action, you could try using below code,
var notes = 'Incident reopened by '+gs.getUser().getDisplayName()+' at '+new GlideDateTime().getDate();
current.work_notes.setJournalEntry(notes);
current.update();
Mark Correct if this solves your issue. Hit Like/Helpful based on the impact of this solution.
-Regards,
Udhay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-07-2018 01:03 AM
Thanks bro its working