Is it possible to auto delete Schedules after there is no more upcoming runs and after EndsAt instead of keeping it in Running state?

I’m using java-sdk to create schedules that run for a short period. But after the executions end the schedule remains in “Running” state forever, even after Schedule End Time.

In order to keep things organized, I would like to have those schedules deleted after Schedule End Time or maybe go to some “Terminated” or “Completed” state.

Does something like that exists ? Or should I just accept that I’ll have old schedules forever in Running state ?

schedules have retention time , meaning
schedules with no future tasks are cleaned one week after their last action (or update)

1 Like