Skip to content

Commit fd51714

Browse files
authored
readme.md
This onAfter business rule script checks for the inactivated user and then disables the notification devices and Notification subscriptions of that particular user. This help us to keep the data aligned, prevent any unnecessary notifications or triggers and enhances data management. It will also eliminate the manual efforts.
1 parent 05020f7 commit fd51714

File tree

1 file changed

+20
-0
lines changed
  • Server-Side Components/Business Rules/Disable Notification Devices and Subscription on user deactivation

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
This onAfter business rule script checks for the inactivated user and then disables the notification devices and Notification
2+
subscriptions of that particular user.
3+
4+
This help us to keep the data aligned, prevent any unnecessary notifications or triggers and enhances data management. It will
5+
also eliminate the manual efforts.
6+
7+
8+
Business Rule Setup:
9+
1. Name: Manage Inactive user Notif Devices [Amend it as suitable]
10+
2. Table: [sys_user]
11+
3. When to run: 'After' 'Update'
12+
4. Condition: 'Active' 'Changes to' 'False'
13+
14+
15+
<img width="1619" height="517" alt="image" src="https://github.com/user-attachments/assets/428b706e-0aee-4b08-9028-58d309bb8c90" />
16+
17+
18+
5. In 'Advanced' section: Paste the script of [disableNotifDevices.js]
19+
20+
<img width="859" height="682" alt="image" src="https://github.com/user-attachments/assets/98ad7122-56ad-48d8-8f1a-43a4727d0ead" />

0 commit comments

Comments
 (0)