I understand Temporal Schedules are implemented as an abstraction on top of a Workflow. Moreover, I also understand that closed Workflows are deleted after exceeding the namespace’s configured retention period.
My questions are:
- When is the underlying Workflow powering a Temporal Schedule closed? Once the Schedule reaches its Schedule End Time?
I understand that if I manually call delete_schedule
I will be issuing a termination on the underlying Workflow, effectively closing it, but I am interested in what can cause this Workflow to be closed without a manual call to delete_schedule
.
I have been running fairly long schedules, and none of them seem to have been closed automatically, except for a few schedules I have seen disappear after going past their end times.
- If the underlying Workflow is closed, is it affected by the retention period? I would assume yes. Would this also delete the Temporal Schedule such that it’s ID may be re-used?
Just to confirm if I could re-create a schedule after it has been deleted using the same ID.
Thank you!