I have a workflow that kept running - despite me trying to update the schedule.
I even deleted the workflow - but a version of it is still running on a weird schedule. Funny enough, it was never even a scheduled workflow but an email-triggered one.
This is still an issue as of today. A deleted workflow is still running. If I update current workflows schedules - the schedule is not updated (it appears updated - but it is not actually running when it is expected to).
Can you try publishing the agent again and see if it fixes it?
What is supposed to happen is:
When a new version is published, all existing scheduled runs are cleared out
We look through the new version and find all scheduled starts, and build new scheduled runs for the new data
However, if there is some error in the second part, the entire thing “rolls back” to the previous state—which seems like what is happening here. Scheduled runs got out of sync with the current version of the agent. I updated a few points in the code that could be responsible for this so hopefully will be fixed, but let me know!
It is still happening. I went in and went to the older version of the Agent where that workflow still existed. I tried editing the scheduler from there. But it is still running.
I have tried this in two different agents - since at one time the worfklow was duplicated.
Sorry, not quite following. Can you edit the agent with the old schedule running and just click publish to publish a new version? That should flush out any old scheduled jobs still in the system and build any new ones.