How to Programmatically Send Notifications to Users in AEM | Community
Skip to main content
chaudharynick
Level 4
February 17, 2025

How to Programmatically Send Notifications to Users in AEM

  • February 17, 2025
  • 1 reply
  • 677 views

How to Programmatically Send Notifications to Users in AEM

by Neeraj

I have always wondered how we could notify users after executing background logic using AEM Sling Jobs. Unlike workflows with built-in notification mechanisms, there didn’t seem to be a direct way to inform users once a job was completed. This led me to explore different options, and that’s when I came across the TaskManager API.

So just for the context: AEM includes an Inbox feature that enables users to receive notifications for assigned tasks. While workflows automatically trigger these notifications, we can use TaskManager API to send these notifications programmatically

 

Full Article

Read the full article with implementation on https://medium.com/@neerajchaudhary856/how-to-programmatically-send-notifications-to-users-in-aem-c198673a89bf

 

Q&A

Please use this thread to ask questions relating to this article

1 reply

kautuk_sahni
Community Manager
Community Manager
August 21, 2025

Really helpful post, thanks for putting this together. Have you tried combining it with custom Sling Jobs that run asynchronously, any gotchas you’ve noticed with timing or delayed notifications?

Kautuk Sahni