Although the function: Rename is available by rightclicking the workflow name, it will not correctly rename the workflow. The problem is that it only changes the title but in the config file, still the old name exists. We will need to perform some manual tasks after you renamed all the files!
Open the OLDWFName.xoml.wfconfig.xml file.
Change the path name to the new name. I will give an example below.
OLD name was New SOP WF, new name is: SOP WF
Old config file was:
<WorkflowConfig>
<Template BaseID="{FD02CD7B-DE27-486F-BF2B-65E807ACD1E4}"
DocLibID="{F1E7A575-B9D8-415B-9BF7-7BD5CC293DD0}"
XomlHref="Workflows/New SOP WF/New SOP WF.xoml"
XomlVersion="V75.0"
RulesHref="Workflows/New SOP WF/New SOP WF.xoml.rules"
RulesVersion="V75.0" >
</Template>
<Association ListID="{DB955486-0511-44DD-ACE4-B1649ACF4859}"
TaskListID="{40FC9FF0-2B2F-4825-A184-49E772277C1F}"
StartManually="true" StartOnCreate="true" >
</Association> <ContentTypes> ...
</ContentType> </ContentTypes>
<Initiation URL="Workflows/New SOP WF/New SOP WF.aspx">
<Fields/>
<Parameters></Parameters>
</Initiation></WorkflowConfig>
The new config file looks like this (I placed the part I changed in bold):
<WorkflowConfig>
<Template BaseID="{FD02CD7B-DE27-486F-BF2B-65E807ACD1E4}"
DocLibID="{F1E7A575-B9D8-415B-9BF7-7BD5CC293DD0}"
XomlHref="Workflows/SOP WF/New SOP WF.xoml"
XomlVersion="V75.0"
RulesHref="Workflows/SOP WF/New SOP WF.xoml.rules"
RulesVersion="V75.0" >
</Template>
<Association ListID="{DB955486-0511-44DD-ACE4-B1649ACF4859}"
TaskListID="{40FC9FF0-2B2F-4825-A184-49E772277C1F}"
StartManually="true"
StartOnCreate="true" >
</Association>
<ContentTypes> ...
</ContentType>
</ContentTypes>
<Initiation URL="Workflows/SOP WF/New SOP WF.aspx">
<Fields/>
<Parameters></Parameters>
</Initiation></WorkflowConfig>