You have a workflow associated with list which contains lots of steps.
Now you a have requirement where multiple lists need to be associated with the same workflow. But it’s tedious job to design Same workflow for all lists. Here we have trick to use same workflow with multiple lists.
In SharePoint designer, when you expand your workflow you will find these supported files with it.
-Workflows
-myworkflow
myworkflow.aspx
myworkflow.xoml
myworkflow.xoml.rules
myworkflow.xoml.wfconfig.xml
Now to reuse the workflow with other lists,
• Create new workflow on the list on which you want it.
• Create at least one step with 1 condition and 1 action which will create above shown files.
• Copy content of.xoml file from your initial workflow and copy to notepad.
• Now open your new workflow and open .xoml file and replace the content with copied in notepad.
• Repeat this with .xoml.rules file
• Now double click on the .xoml file to open workflow in designer and click check the workflow for errors and click finish to save it.
Hey wow…you just associated your old workflow to your new list.
Happy sharepointing…
No comments:
Post a Comment