department-of-veterans-affairs/va.gov-cms

[Aging Content MVP] Aging content email notifications should be sent at midnight

Closed this issue · 3 comments

Description

The Aging Content emails should be sent at:

  • midnight on the third day prior to expiration date
  • midnight on the day of expiration

User story

AS A PO/PM for Aging Content
I WANT emails to fire on midnight on the appropriate days noted above
SO THAT emails aren't sent until the end of the timeframe we are specifying for first and last notification.

Engineering notes / background

Analytics considerations

Quality / testing notes

Acceptance criteria

  • At midnight three days prior to expiration, the first Aging Content notification email will be sent
  • At midnight on the expiration date, the first Aging Content notification email will be sent
  • Update unit tests
  • Update KB article

@FranECross is it your understanding that, once this ticket lands, that the emails will start going out? Recall that we have intentionally turned off the workflows for now, with the original intent being that we would incrementally rollout the notifications to users--but we only have 1 or 2 published FWB for which to notify on, so perhaps that is alone its own incremental rollout?

@dsasser That is my understanding (that the emails will go out, since there are only a couple of folks). I'll ping Michelle in Slack just to confirm/get final sign-off though, so there aren't any surprises. Thanks for all your hard work on this!

Edited: I've Slacked Michelle M to confirm. Thread here!

This has been released and is enabled on prod:

Screenshot 2024-07-19 at 1.54.48 PM.png