send notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
to logged in user , manager and add CC to his manager when he logged in the instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
49m ago - last edited 46m ago
Hi @sutarkastur,
Notifications can be triggered by event or by satisfying conditions, with that there are quite few ways how to achieve this requirement. Is it for learning purposes or real requirement (it seems a little strange tbh)?
If you want to go with the event-based option, then the login date and time is stored in [sys_user] table:
Depending on the nature of your requirement, you might want to do it scheduled (e.g. hourly, daily, ...) or immediately.
If immediately, create a business rule on the sys_user table that will fire an event when a Last login time changes.
If you are fine with some scheduled digests - then create a scheduled job and/or flow to fire that event hourly, daily, weekly, it will check a bulk of all the users whose last login time stamp is changed and send it as a group instead of one by one with the BR above...
And then use that event as a trigger to your notification, add there content (What it will containt) as you want and recipients can be dynamically populate in the Who will receive tab.
Eventually create your notifications directly on the sys_user table with the condition and do it accordingly.
100 % GlideFather experience and 0 % generative AI

