Skip to content

Commit b30b4a3

Browse files
authored
Create changeCommitUpdateSet.js
1 parent 2765bed commit b30b4a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// 1. Add record to update set, Query for the record - get sys id
2+
var rec = new GlideRecord('x_sms_request');
3+
rec.get('4012cbc3830d1210887ced70deaad389');
4+
// 2. Push the record into the current update set
5+
var um = new GlideUpdateManager2();
6+
um.saveRecord(rec);

0 commit comments

Comments
 (0)