Last updated work notes date and time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 03:01 AM
Hello developers,
how to get last updated date and time of a work notes on demand.
i am writing a background script here.
Can you please guide me on this.
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2021 03:34 AM
Thank you for marking my response as helpful.
If my response helped you please mark it correct to close the question so that it benefits future readers as well.
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
05-13-2020 03:38 AM
Hey,
Please try :
var v= new GlideRecord('dmn_demand');
v.addQuery('number','DMND0001607');
v.query();
while(v.next()){
gs.print(v.sys_updated_on.getDisplayValue());
}