I have a button to kickstart the workflow but I can’t keep up and we have nearly 800,000 logs to delete now.
I was thinking of doing a recurring event, like every day restart the workflow if this workflow isn’t already scheduled. However, it seems I cannot query whether the workflow is scheduled or not.
There are only two conditions, one where the count of logs > 30 days = 0 and the other where count > 0 and I reschedule the log at different times (+1 day if =0 and now if > 0).
It must be one or the other so I would suspect it’s not that.
Logs in backend show it’s to do with backend capacity: Workflow error - Operation timed out -- app too busy