Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Launcher To Trigger Custom Notification for Expired Assets.

Avatar

Level 2

Hi All,

AEM has the OOTB email notifications that triggers based on the scheduler for the assets expired . Is there a way to setup a launcher that triggers notifications for each individual expired assets??

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Vijay,

I don't think so you can do it because rancher would be getting triggered only for events like create, modify, delete. But to check expiry date something needs to be run periodically or on demand.

e.g. for workflow launcher, you can trigger only when below events getting triggered for a node type.

Screenshot 2019-03-01 at 9.24.52 PM.png

4 Replies

Avatar

Correct answer by
Community Advisor

Hi Vijay,

I don't think so you can do it because rancher would be getting triggered only for events like create, modify, delete. But to check expiry date something needs to be run periodically or on demand.

e.g. for workflow launcher, you can trigger only when below events getting triggered for a node type.

Screenshot 2019-03-01 at 9.24.52 PM.png

Avatar

Level 4

Hi Arun , How often we can run the scheduler.? If we run for every second will there be any impact on the authoring side? Thanks in advance.

Avatar

Community Advisor

There is no need to run scheduler  every second, because the assets expiry fields format is DD-MM-YYYY HH:MM.

In this can you should be running every minute but again the decision is based on how the content author set the expiry. Running code would not impact the instance but the operations does but I don't think so there would be asset which expires every minutes. So good to go if you can consider these possibilities and write a optimize code.