Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Using this background script you can capture the record in the current update set.

mihirlimje867
Tera Guru

Hello,
Using this background script you can capture the record in the current update set.

 

var rec = new GlideRecord('table_name');  // select the table of the record

rec.get('sys_id'); // select the sys_id of that perticular record

var um = new GlideUpdateManager2(); 

um.saveRecord(rec);

 


Please like the article if you think this will help you.
Thank you.

0 REPLIES 0