The “.xoml.wfconfig.xml” file contains information on the list the workflow is bound to using the List’s ID (a GUID):
association XMLtag
listid = 32bit GUID
tasklistid=32bit GUID
startmanually="true"
The file “.xoml.rules” contains the ‘conditions’ you program for the workflow and the “.xoml” file contains the ‘actions’. The “.aspx” form is displayed when the workflow is started manually.
To re-use a workflow in another list:
Create a new workflow on the new list.
Create at least one step, one condition and one action in this workflow. This ensures that the files shown above are created and they will be replaced by the next operations.
From the original workflow open the .xoml file as XML and copy the entire contents to the clipboard.
Open the .xoml file for the new workflow and replace the entire contents with the copy from (3).
Repeat this operation for the xoml.rules file.
Double click the .xoml file for the new workflow to open the workflow in the Workflow Designer and click Check Workflow to verify no errors and then click Finish to ensure the workflow is saved.
Also, Once done with all the changes make sure the lookup items doesnt point to existing list. Just double click on it and will point to current list.
http://vspug.com/agoodwin/2008/08/11/no-options-to-save-workflows-as-templates-in-sharepoint-designer/

No comments:
Post a Comment