Skip to content

Commit 2c0bfeb

Browse files
authored
Update README.md
1 parent 975f7cb commit 2c0bfeb

File tree

1 file changed

+11
-4
lines changed
  • Specialized Areas/Fix scripts/updateMultipleRecords

1 file changed

+11
-4
lines changed
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
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+
*********

0 commit comments

Comments
 (0)