Notify for page expiry date | Community
Skip to main content
Employee
Jun 1, 2022 6:06 AM UTC
Solved

Notify for page expiry date

Hi Experts,

need help on how to notify Content Author/s when a page reaches the expiry date.

 

As an  user I want the system to send email notifications as mentioned below to Content Author/s when a page reaches the expiry date, so that they view and take appropriate action.

List of Email notifications when page is close to assigned expiry date:

  1. First email notification shall be sent on <current date> - <30 days to expiration date>

  2. Second email notification shall be sent on <current date - <7 days to expiration date>

  3. Third email notification shall be sent on <current date - <1 day to expiration date>

Any leads on this will be ver helpfull
Thanks

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Jun 1, 2022 7:45 AM UTC

Hi,

There is no expiry for page unlike asset.

But you can build the same logic for Page, in your page property have a expiry date and run the scheduler daily to check expiry based on different day and send notification.

Arun Patidar

4 replies

Level 4
Jun 1, 2022 8:40 AM UTC

You can write custom scheduler to implement this . Please refer to below 

https://knitshwetakhanna.wixsite.com/aemblog/single-post/2018/08/06/send-custom-email-in-aem

Translate
Level 4
Jun 1, 2022 7:56 AM UTC

Hi, 
Page Does not have expiry date.
Assets has Please follow this discussion for assets expiration  - 
asset-page-expiration-alerts-in-aem 

 

answered by @kautuk_sahni. 

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Jun 1, 2022 7:45 AM UTC

Hi,

There is no expiry for page unlike asset.

But you can build the same logic for Page, in your page property have a expiry date and run the scheduler daily to check expiry based on different day and send notification.

Translate
Arun Patidar
Employee
Jun 2, 2022 1:50 PM UTC

Hi @arunpatidar  could you please share me the logic sample or github repo link where  I can find logic for assets expiry scheduler so that I could use it as refrence.

 

Thanks in advance

Translate