How to send custom notifications to users and groups in AEM

Avatar

Avatar

bajjuri_karthik

Avatar

bajjuri_karthik

bajjuri_karthik

02-04-2018

I have a workflow which needs to end by sending a custom notification to a particular group or user , is there any way, where we can send custom notifications to users or groups programatically(from Process step) in AEM.

Thanks

Karthik

Replies

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

02-04-2018

This is the closest implementation to what you are asking:- Adobe Experience Manager Help | Creating custom AEM workflow steps that send email messages

// This article will discusses about how to develop an AEM custom workflow step by using AEM Workflow Java APIs. The custom workflow step sends email messages. 

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

02-04-2018

To get email that belongs to a user - you need to use the User Manager API. See: User ("The Adobe AEM Quickstart and Web Application.")

So in your custom step - you should use the JackRabbit API to obtain an email addresses and then email the users.