You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Server-Side Components/Scheduled Jobs/Deactivate Memberless Group/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,6 @@ Scenario-
5
5
Deactivate the active groups which doesn't have members for last 6 months.
6
6
Approach-
7
7
1. A scheduled job runs daily or weekly to identify groups without members.
8
-
2. To track when a group becomes memberless, a DateTime field (e.g. u_memberless_date) is added to the sys_user_group table and populated with the current date when no members are found.
8
+
2. To track when a group becomes memberless, a Date field (e.g. u_memberless_date) is added to the sys_user_group table and populated with the current date when no members are found.
9
9
3. If members are added later, the field value is cleared.
10
10
4. Groups that remain memberless for over six months (based on the u_memberless_date) are automatically deactivated.
0 commit comments