From my understnding, there are 3 ways to do scheduled tasks, e.g. sending a reminder for a task ends.
-
When creating a task, create a scheduled API WF before the task’s end date. Save the API WF ID. When the end date is updated, delete the scheduled API WF and schedule another WF and save the ID.
-
Create a recursive WF API to get all the tasks that are ending and set up a daily recurring event that executes the WF.
-
Create a public recursive WF API to get all the tasks that are ending and set up an external cronjob that executes the WF.
I am leaning toword option 3. What is your thought?