Create a reusable workflow for the document content type using SharePoint Designer.
Navigate back to SharePoint Designer or open a new instance if you closed it from the previous exercise.
If the Time-Off Request WF is still open from the previous exercise, click the Workflows breadcrumb at the top of the editor tab. Or if you closed it, you can click the Workflows link in the Navigation menu.
Click the Reusable Workflow link in the WORKFLOWS tab toolbar New group.
Type "Reusable Doc WF" in the Name field and choose Document in the Content Type drop-down field and click the OK button.
Add an Association Column to the Reusable Doc WF.
Click the Association Columns button in the WORKFLOW tab toolbar in the Variables group.
Click the Add New Column... button on the Association Columns dialog.
Type "Reusable WF Feedback" in the Field name field and click the Next button on the Add Column dialog.
Leave the Default value field empty and click the Finish button of the Column Settings dialog.
Click the OK button to close the Association Columns dialog and save your column setting.
Add a Set Field in Current Item action to the Reusable Doc WF and configure it to write text into the Reusable WF Feedback associated column.
Hover and click the orange bar within Step 1 of the Reusable Doc WF.
Click the Action drop-down button in the Workflows tab toolbar and choose the Set Field in Current Item action.
Click the field link in the Set Field in Current Item action and choose the Reusable WF Feedback option from the drop-down list.
Only fields defined in the content type and associated columns are available to use in a reusable workflow.
Click the value link in the Set Field in Current Item action.
Type "This message was created by the Reusable Doc WF!" in the value text box.
Publish the Reusable Doc WF.
Click the Publish button in the WORKFLOW tab toolbar's Save group.
Associate and test the Reusable Doc WF workflow with the Shared Documents
library of your site.
Switch back to your browser window or open one if you don't have one already open and browse to your assigned student site.
Documents link in the site's Quick Launch menu.
Click the FILES tab to open the toolbar and click the New Document button.
Type "This is a sample document for use with a reusable workflow." in the new Word document and click the Save icon in the upper-left corner of the Microsoft Word window.
Click Shared Documents from the Other Web Locations on the Word Save As page.
Type "Sample WF Doc" in the File name field and click the Save button.
Close Microsoft Word.
Click the LIBRARY tab to open the toolbar and click the Library Settings button.
Click the Advanced settings link under the General Settings group.
Click the Yes radio button for the Allow management of content types option.
Click the OK button to save the setting.
Click the Workflow Settings link under Permissions and Management.
Click the Add a workflow link.
Select Document from the Run on items of this type drop-down field.
Select Reusable Doc WF from the Select a workflow template list box.
Type "Reusable Document WF Test" in the Type a unique name for this workflow field.
Leave the rest of the workflow settings at their defaults and click the OK button at the bottom of the form.
Click the Documents link in the site's Quick Launch menu to navigate back the default view of the library.
Click the ellipsis link next to the Sample WF Doc link then click the second ellipsis link in the balloon pop-up to open the context menu and click the Workflows link.
Click the Reusable Document WF Test link.
Click the Start button to start the workflow.
Verify the Reusable Document WF Test column has the status of Completed.
Click the ellipsis link next to the Sample WF Doc link and then click the second ellipsis link in the balloon pop-up to open the context menu and click the Edit Properties link.
Verify the Reusable WF Feedback field exists and has the text "This message created by the Reusable Doc WF!" in it.