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

So I need to publish it first? I can't delete it without publishing it? Because that's not what I want to do if possible


Yes you need to publish it first with the same user. If you need backup of that then copy workflow.


I don't think we can delete it using UI Action if published is False.


I just deleted a workflow that was not checked out by me and was not published (because it was still checked out by someone else). The only thing you need to do is close all active contexts and give yourself workflow roles


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.


Peter,



Thanks for publishing your final outcome.     This is handy for future reference, since I was somewhat puzzled by this too.


In the past, I've been able to just delete the workflow and the "checked out" version would be the one deleted.


Since upgrading to Geneva, we lost that ability and this is what we need.


You've done us all a great service!