In my app I create submissions that can be approved or rejected and I used an activity worker and step functions to detect when the submission was either approved or rejected to take appropriate action. Yet I need a third state for when my submission time expires, the expiration time is set by the user in days, from 1 up to 5. I need to figure out a way to schedule a lambda call that will set the correct status at the scheduled time if the submission was neither approved or rejected. How can I achieve this?
Trigger a new step function and use the