Skip to content

Commit 4ca2fd0

Browse files
authored
Update Replace inactive group managers with group members
1 parent a7b45b0 commit 4ca2fd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Specialized Areas/Fix scripts/updateMultipleRecords/Replace inactive group managers with group members

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ function replacewithActiveManager() {
88
inactiveMgrGrp.query();
99
while (inactiveMgrGrp.next()) {
1010
inactiveMgrGrp.setValue('manager', getOlderGroupMember(inactiveMgrGrp).sys_id); // set inactive manager with active group member.
11+
inactiveMgrGrp.autoSysFields(false);
1112
inactiveMgrGrp.update();
1213
gs.info("Group " + inactiveMgrGrp.name + " manager changed to " + getOlderGroupMember(inactiveMgrGrp).name);
1314
}

0 commit comments

Comments
 (0)