Changed behavior in Workflow Associations after installing the SharePoint Server 2007 post-2007 Microsoft Office servers Service Pack 1 hotfix package: July 23, 2008

Article ID: 2553522 - View products that this article applies to.
Expand all | Collapse all

SUMMARY

With the introduction of the SharePoint Server 2007 post-2007 Microsoft Office servers Service Pack 1 hotfix package: July 23, 2008 Cumulative Update the behavior of Workflow Associations for Content Approval Workflows was changed in Microsoft Office SharePoint 2007. This Cumulative Update is also part of Microsoft Office SharePoint Server 2007 Service Pack 2.

The original behavior was in a Microsoft Office SharePoint 2007 Collaboration Portal site, you can create a Workflow Association that has the following two options enabled (checkboxes selected):
- Start this workflow when an item is changed
- Update the approval status (use this workflow to control content approval)

When this configuration was chosen for a Document Library that has versioning enabled, the status of the Workflow Instances was always In Progress and the content approval always resulted in being always set to Pending even after the Workflow Task was approved. The Workflow Instances never reached a final status Completed, and the Document the Workflow Instance was started for never stayed at the final status Approved.

With the Cumulative Update the behavior changed and the option Update the approval status (use this workflow to control content approval) can only be selected if Start this workflow when an item is changed was notchecked.

Please note:
A combination of Start this workflow when a new item is created and Update the approval status (use this workflow to control content approval) is still possible.

If a Content Approval Workflow was used the very first time on a Microsoft Office SharePoint 2007 Farm where the Cumulative Update was already installed, you will immediately experience the new behavior when you create a new Workflow Association.

If you have used a Content Approval Workflow before the Cumulative Update was installed, you will still experience the original behavior even after the Cumulative Update got installed. The reason for this is the Workflow Association Form is installed into the SharePoint Central Administration InfoPath Form Templates Library and not automatically updated when instaling the Cumulative Update.

In order to get the Workflow Association Form updated you need to manually execute the following steps. The steps affect the whole Microsoft Office SharePoint 2007 Farm, so you only need to execute them once.
  1. For every existing Site Collection got to Site Settings\Site Collection Features and deactivate the Routing Workflows feature
  2. Open a Command Prompt
  3. Change to the folder C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin\
  4. Execute the following command: stsadm -o uninstallfeature -name reviewworkflows -force
  5. Wait until the command finished
  6. Execute the following command: stsadm -o installfeature -name reviewworkflows -force
  7. For every existing Site Collection that had the Routing Workflows Features activated before go to Site Settings\Site Collection Features and activate the Routing Workflows feature
  8. Restart the Internet Information Services (IIS) on every of your Web Servers of your Microsoft Office SharePoint 2007 Farm.


MORE INFORMATION

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2553522 - Last Review: May 27, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Office SharePoint Server 2007
Keywords: 
KB2553522

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com