Monitor and Notify When Thresholds are Approached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 10:48 PM
Requirement 1.
We have created below three groups
1.OpCo_Local_Admin
2. OpCo_Fulfiller_License
3. OpCo_Approver_Admin
Requirement 2.
We have created Custom table 'u_license_tracking' with custom field
1.Company (Reference to `core_company`)
2.Fulfiller_Count (Integer)
3. Approver_Count (Integer)
4.Fulfiller_Budget (Integer)
5. Approver_Budget (Integer)
Write a scheduled script or Business Rule to populate this table with counts (from the OpCo groups mentioned above).
Requirement 3.
As a License Manager,
I want a scheduled job to check if the number of users with "Fulfiller" or "Approver" roles is nearing the threshold for each company,
so I can take action before limits are exceeded.
• If counts are within 10% of the thresholds, a notification is sent to a designated group or email.
• Notifications include company name, current counts, and thresholds.
• If the number of licenses = threshold, the notification should contains "You have no more licenses available", if not, the notification should contains "You have X licenses left to allocate"
Could you please help me for above requirement how to calculate threshold and how to trigger notification with scheduled job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 10:01 PM
Could you please explain me through scheduled job, Client want scheduled job should run weekly and trigger notification to specific group.