To configure the Task list:
- Navigate to the task list you wish to use, select Settings, List Settings; Right click on Audience targeting settings or Information management policy settings and select Properties. Copy the list GUID from the address URL e.g. {b8b415e2-89fa-40cb-a598-85eec0cd6271}
- Navigate to the Workflow folder in SharePoint Designer and expand it
- Double click on the <workflow name>.xoml.wfconfig.xml file, locate the Association TaskListID and replace with default GUID with the new task list GUID from step 1.
- Save and republish the workflow
Example of wfconfig.xml file:
<WorkflowConfig>
<Template
BaseID="{99CCD0B6-D5BC-46E4-A6C7-3054C2157FCE}"
DocLibID="{6FA134EA-846D-46BD-8F2A-246D103A5A01}"
XomlHref="Workflows/Test Workflow/Test Workflow.xoml"
XomlVersion="V7.0"
>
</Template>
<Association
ListID="{FB7C61AA-3F15-4914-A965-C6F24ED2FD7F}"
TaskListID="{b8b415e2-89fa-40cb-a598-85eec0cd6271}" StartManually="true"
>
</Association>
<ContentTypes>
</ContentTypes>
<Initiation URL="Workflows/Test Workflow/Test Workflow.aspx">
<Fields/>
<Parameters></Parameters>
</Initiation>
</WorkflowConfig>
No comments:
Post a Comment