Notify for page expiry date | Community
Skip to main content
Adobe Employee
June 1, 2022
Solved

Notify for page expiry date

  • June 1, 2022
  • 3 replies
  • 1176 views

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.
Best answer by arunpatidar

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.

3 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 1, 2022

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
Adobe Employee
June 2, 2022

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

Level 4
June 1, 2022

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

Level 4
June 1, 2022

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