When a workshop slot is created we want to schedule an event that will trigger as soon as the slot ends.
This can be scheduled via the infrastructure API.
Behind the scenes this API endpoint will trigger a Lambda that will schedule and event with the EventBridge Scheduler that will in turn run the event post processing (host: calculate and award points and inform them via email, attendees: remind them to submit a review via email).
Make sure to implement a rollback in case event scheduling fails.
When a workshop slot is created we want to schedule an event that will trigger as soon as the slot ends. This can be scheduled via the infrastructure API. Behind the scenes this API endpoint will trigger a Lambda that will schedule and event with the EventBridge Scheduler that will in turn run the event post processing (host: calculate and award points and inform them via email, attendees: remind them to submit a review via email).
Make sure to implement a rollback in case event scheduling fails.