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
BedrockMission!

Learn More

View all

Sign in to view all badges

Launcher To Trigger Custom Notification for Expired Assets.

Avatar

Avatar
Validate 1
Level 1
vijayl12137971
Level 1

Like

1 like

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
vijayl12137971
Level 1

Like

1 like

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
vijayl12137971
Level 1

25-02-2019

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

01-03-2019

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

Answers (3)

Answers (3)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

06-05-2019

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.

Avatar

Avatar
Validate 10
Level 3
vijayk87714775
Level 3

Likes

12 likes

Total Posts

81 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
vijayk87714775
Level 3

Likes

12 likes

Total Posts

81 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
vijayk87714775
Level 3

06-05-2019

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

Avatar
Validate 1
Level 1
vijayl12137971
Level 1

Like

1 like

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
vijayl12137971
Level 1

Like

1 like

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
vijayl12137971
Level 1

04-03-2019

Thanks alot Arun.