File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Specialized Areas/Fix scripts/updateMultipleRecords Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1- //This Fix scripts is to clean up multiple record errors
2- // Navigate to Scripts-Background
3- // Past the script and update the place holder variable value: table name, field, and value etc.
4- // Also advisable to validate the row count the //gr.getRowCount() and remove from codebase.
1+ *********
2+ This script will query the group table and look for groups with inactive members.
3+ The script will replace the inactive manager with the oldest active member of the group.
4+
5+ Logs:
6+ If no active members are there in group
7+ //gs.info("Group " + grp.name + " does not have any active user");
8+
9+ After manager is replaced :
10+ gs.info("Group " + inactiveMgrGrp.name + " manager changed to " + getOlderGroupMember(inactiveMgrGrp).name);
11+ *********
You can’t perform that action at this time.
0 commit comments