Failed to save an EPDM 2013 workflow.

Getting the following error:

"Failed to save the workflow to the database.

Cause: Couls not access the item in the database."

If I delete a transition then the workflow will not save.

If I move a state and then save (without deleting anything) then the workflow saves normally.

Why is this happening and how do I fix it?

Gary.

SolidworksSolidworks Pdm enterprise Pdm