SanctuaryDOCS
Open App
Care Milestones

Care Milestones Scan

Care
Access:Super Admin

The Care Milestones Scan is a nightly background job that identifies upcoming milestone dates for all active members — birthdays, anniversaries, and significant spiritual dates — and creates care milestone records so pastoral staff can plan celebrations and outreach.

Schedule

When: Daily at 2am (tenant local time)

This is part of the nightly processing window. It runs alongside the Serve Stats Recalculation at 2am, followed by the Snooze Wakeup (3am) and Bereavement Anniversaries (3am).

Milestone Types

FieldTypeDescription
BirthdayBIRTHDAYGenerated from the member's date of birth. Shows the age they are turning (e.g., "45th Birthday").
Wedding AnniversaryWEDDING_ANNIVERSARYGenerated from the member's anniversary date. Shows the milestone year (e.g., "25th Wedding Anniversary").
Baptism AnniversaryBAPTISM_ANNIVERSARYGenerated from the member's baptism date. Marks years since baptism.
Membership AnniversaryMEMBERSHIP_ANNIVERSARYGenerated from the member's join date or membership date. Recognizes years of church membership.
Salvation AnniversarySALVATION_ANNIVERSARYGenerated from the member's salvation date. Marks years since their profession of faith.

How It Works

  1. The scanner reads the lead days configuration from the tenant settings (default: 30 days). This defines how far ahead to look for upcoming milestones.
  2. It loads all active members (donors) and checks each of the five milestone date fields.
  3. For each member with a valid date, it calculates whether the anniversary falls within the window between today and today + lead days.
  4. It checks for an existing milestone record for this member, type, and year to avoid duplicates.
  5. If no existing record is found and the date is within the window, a new care milestone is created with a descriptive title (e.g., “Jane Smith — 30th Birthday”).

Configuration

FieldTypeDescription
Lead DaysIntegerHow many days ahead to scan for upcoming milestones. Configured via Tenant Configuration (careMilestoneLeadDays). Default: 30 days.

Related Care Jobs

The Care Scheduler runs four jobs in sequence through the nightly and morning windows:

FieldTypeDescription
Milestone Scan2am dailyThis job. Scans for upcoming milestone dates.
Snooze Wakeup3am dailyReactivates care items whose snooze period has expired, returning them to the active queue.
Bereavement Anniversaries3am dailyCreates bereavement anniversary milestones for members who have experienced a loss. Similar logic to the main milestone scan but focused on bereavement dates.
Follow-Up Reminders7am dailySends notification reminders for care items that have upcoming or overdue follow-up dates.

Data Requirements

Milestones can only be generated for members who have the relevant dates recorded in their profile. If a member has no date of birth, no birthday milestone will be created. Ensure member profiles are kept up to date in the Flock module for best results.

The source fields are:

  • dateOfBirth → Birthday
  • anniversary → Wedding Anniversary
  • baptismDate → Baptism Anniversary
  • joinDate or membershipDate → Membership Anniversary
  • salvationDate → Salvation Anniversary

Job Output

Each run logs the number of milestones created for the tenant. Milestones appear in the Care module dashboard and can be assigned to staff for follow-up.

Related Pages

PreviousAbsence Alerts
NextCircles Health