How to remove a checked out workflow version?

peterraeves
Mega Guru

I just noticed that I checked out a workflow 3 months ago. The problem at that time had been solved by changing a Business Rule. The workflow wasn't at fault at that time. I don't remember what changes I have done to the workflow, so I don't want to publish it, but i don't want the published version to exist either. How do i close the workflow again, without having to publish it?

1 ACCEPTED SOLUTION

peterraeves
Mega Guru

With all your help combined I figured it out. If you want to delete a checked out published version you:


- Do NOT need to be the person that checked out the version


- Do NOT have to publish it first


- Do need a workflow role (creator or publisher). Admin alone isn't enough as the ACL doesn't have admin override.


- Do need to close all active workflow contexts



When this is all done, you can delete the workflow version just fine.


View solution in original post

16 REPLIES 16

you are the person who checked out (according the workflow editor), doesn't make sense unless if we have an issue as it's a workflow used by another workflow but I don't remember seeing this use case.


This might be the most terrifying thing I've ever done in snow. Thanks for promising.

Gurpreet07
Mega Sage

Hi Peter,



Go to workflow versions from let navigation. find the one u checked out and delete.


The delete option is grayed out...


You need to impersonate with the user who checked out it last time and publish it and then delete it from the workflow versions.


Each time users checkout a new version is created.



Thanks


Rohit