vargr=newGlideRecord('sys_user');gr.addQuery('name','Joe Employee');gr.query(myCallbackFunction);//Execute the query with callback function//After the server returns the query recordset, continue herefunctionmyCallbackFunction(gr){while(gr.next()){//While the recordset contains records, ite...
(user_sys_id){this.run_as=user_sys_id;},setScript:function(script){this.script=script;},schedule:function(){vars=newGlideRecord(this.sys_class_name);s.initialize();s.active=this.active;s.name=this.name;s.run_type=this.run_type;s.run_start=this.run_start;s.script=this.script;s....
GlideRecord Query Cheat Sheet GlideRecord Query Cheat Sheethttps://www.servicenowguru.com/scripting/gliderecord-query-cheat-sheet/doubt if there’s a single concept in Service-now that is more valuable to understand than how to use GlideRecord Query 转载 2019-01-11 12:04:26 1829 阅读 ...