Summary
Opportunities of type event and accompanying whose date is at least 1 day in the past should have their statuses automatically updated.
Requirements
For any event or accompanying type opportunity where the date is strictly before today:
- Opportunity status → set to
inactive (always, whether or not a volunteer was matched)
- Matching status in the deal table → if a volunteer was matched, set the matching status to
past on the deal record (this reflects on both the opportunity side and the volunteer's profile side, since both read from the deal table)
Acceptance Criteria
Notes
- "1 day in the past" = date is strictly before today (today is not considered past)
- The deal table is the source of truth for the volunteer↔opportunity matching status; updating it there is reflected in both the opportunity view and the volunteer's profile
Summary
Opportunities of type event and accompanying whose date is at least 1 day in the past should have their statuses automatically updated.
Requirements
For any event or accompanying type opportunity where the date is strictly before today:
inactive(always, whether or not a volunteer was matched)paston the deal record (this reflects on both the opportunity side and the volunteer's profile side, since both read from the deal table)Acceptance Criteria
inactive, regardless of volunteer matchpastNotes