Workflow Schedules - Not Updating (Still running even after deleting)

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.

I am at an event - so I can’t do a narrative video. But here is one where you can see what is happening. https://www.loom.com/share/22b07d0c42cb4973ada6331b88eea33c?sid=db2f4087-af89-4d18-ae7c-3fa0466bbedb

The old workflow: Parlsey_report.flow keeps runnning even though I’ve deleted it and replaced it with parlsey_report_flow (underscore).

The old one kept running on a schedule even though it was never scheduled - and so I tried deleting it. But no luck.

I think I had one other workflow where I tried to delete the schedule and it kept running.

So I suspct it’s a bug around DELETING schedules??

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!

Thanks!

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.