I am trying to find a way to remove old states, I know you can't remove them from the workflow from the admin tool because they are called by a file or it's history.
I am wondering if their is a way to trick it to thinking it is not used. I mean if I go to the SQL database, and edit the history logs to remove these traces, would this work?
What happens is that most of the workflows are "contaminated" in that the previous admin would just create more states and remove transitions from the previous ones. I also have some workflows with "old " in the name to identify some test workflows that were actually used on a production vault.
Here is an example of a useless Workflow (I have the same in the live workflows)