Announcing the Global SNUG Board of Directors. Learn more here
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!
Hi Tiago. The language of your article (Portuguese) is not supported in this community. Can you translate your article to English, please? Thank you
updated, tks