Can't delete a checked out workflow, what am I doing wrong?

ewilks
Giga Expert

These are the approaches I tried.

When I go into Workflow Editor, I have a workflow that shows that it was checked out, by me, back in July (the highlighted one)

Workflow.JPG

I ended up never doing anything with it, so I am trying to delete it, but I don't have that option.

Workflow2.JPG

So I tried to go to workflow versions to delete it and delete is grayed out (and, yes,   I have elevated privileges):

Workflow3.JPG

Lastly, I pulled up wf_workflow.list and I can't find the checked out version.   Anyone have any idea how I can get rid of this checked out verion?

Workflow4.JPG

1 ACCEPTED SOLUTION

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

Ah yes... I struggled with this too.   You cannot delete a workflow if there are active contexts on it.   Go to Workflow\Active Contexts and cancel the existing running workflow.   Then the delete option will appear.


View solution in original post

1 REPLY 1

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

Ah yes... I struggled with this too.   You cannot delete a workflow if there are active contexts on it.   Go to Workflow\Active Contexts and cancel the existing running workflow.   Then the delete option will appear.