Workflow Deployment Considerations

Workflows are provisioned as features at the time of SharePoint Server 2007 installation. Out-of-the-box workflow features are controlled at the site collection level. By default, all out-of-the-box workflow features in SharePoint Server 2007 are set to active except for the Three-state workflow, which is set to inactive and needs to be activated separately. This means that workflows are enabled at all sites and subsites throughout a site collection and can be created in document libraries, lists, and as part of content types. Therefore, part of your upfront SharePoint farm design will involve deciding whether to allow workflows and locking down the ability to create workflows at the site collection level.

Additional considerations involve when to activate/deactivate workflow features. If you choose to deactivate workflow features on a site collection after users have created workflows, existing workflows will be removed, including currently running workflows, excluding workflow tasks, which will remain in the designated task list throughout sites, and workflow history, which will remain indirectly accessible within the content database. Remember that if a workflow becomes separated from its associated workflow task and/or workflow history, then it’s not possible to re-enable that association via the user interface. It is also difficult to accomplish programmatically.

Custom workflows, such as workflows created using SharePoint Designer 2007, are locked down at the Web application level, which you can access by opening Central Administration, clicking the Application Management tab, and then clicking the Workflow Settings (User-Defined Workflows) link. Choosing to disable user-defined workflows will stop end-users from creating custom workflows throughout site collections and sites within a Web application.

If you choose not to disable custom workflows at the Web application level, you can use Contributor settings in SharePoint Designer 2007 to stop select groups of end-users from creating, editing, and deleting custom workflows. This is a more flexible method for controlling custom workflows as opposed to choosing the lock-down option at the Web application level.

Should You Disable Custom Workflows?

When would you consider disabling custom workflows at the Web application level? Most likely, you’ve decided on using the out-of-the-box workflows—the basic approval document workflow is all your organization needs right now—and, therefore, you’ve chosen to lock down the ability to create custom workflows to avoid any additional administrative overhead. Another good reason for locking down custom workflows at the Web application level is when your information technology department has specifically chosen not to allow SharePoint Designer 2007 workflows to be created on the production farm (that is, other features within SharePoint Designer will be allowed at a controlled level, but custom workflows will not).

On the flip side, you may choose to enable custom workflows because you need something more specific than the out-of-the-box workflows can provide. SharePoint Designer 2007 has some great workflow functionality, and information workers can easily create custom workflows, code free. Perhaps you’ve chosen to deactivate all out-of-the-box workflow features at the site collection level and instead only create workflows in SharePoint Designer 2007.

In the beginning of this chapter, we mentioned that the main focus would be the out-of-the-box workflows and custom workflows built in SharePoint Designer 2007. However, there are many more possibilities for extending workflow functionality using Visual Studio, features, and events. Ed Hild, a technology architect at Microsoft, has developed a novel solution for extending out-of-the-box workflows to provision sites. His solution is discussed in part in the following sidebar.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.182.107