We had an issue with workflows changing from a status of published to unpublished. I believe this is a known issue that is resolved in an update. However, I now need to find out if there are other workflows in the farm that have been unpublished.
We can't use the workflow version number to determine this, as these workflows have version numbers greater than 1. It also appears that this deletes any existing workflow instances.
Any suggestions on how to identify workflows with this problem, with extra bonus points for regenerating the existing workflow instances?