I exported a site workflow and imported in the same site. Made changes to it such as added some new actions and disabled few existing actions. I could successfully save and publish it by giving it a different name than the one which was exported. However, to run this site workflow when i went to ‘Site workflows’ page, I got an error saying “Error occured. Unable to preview workflow”. Even though I could run this workflow successfully but I wasnt able to preview it.
After removing all the disabled actions from the workflow, it got resolved.