
tiagomacul
Mega Sage
Options
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 03-02-2019 02:37 PM
Scripts::. Exemplo update campo workduration
update workduration field Example
How to update workduration field?
var objInc = new GlideRecord("incident");
objInc.addQuery('number','=','INC0001234');
objInc.query();
objInc.next();
gs.print(objInc.number);
gs.print(objInc.u_duration);
objInc.u_worked_duration = '06:00:00';
objInc.update();
Was useful, please leave your feedback!
Labels:
- 257 Views
Comments

RafC
Tera Guru
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
03-04-2019
11:15 AM
Hi Tiago. The language of your article (Portuguese) is not supported in this community. Can you translate your article to English, please? Thank you

tiagomacul
Mega Sage
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
03-06-2019
11:01 AM
updated, tks