The CreatorCon Call for Content is officially open! Get started here.

tiagomacul
Giga Sage

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();

 

Know-More-Now-Logo.jpg

Script Summary

 

Was useful, please leave your feedback!

Comments
Community Alums
Not applicable

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
Giga Sage

updated, tks

Version history
Last update:
‎03-02-2019 02:37 PM
Updated by: