A workflow is canceled when you try to upload an item to a picture library in Microsoft Office SharePoint Server 2007

A workflow is canceled when you try to upload an item to a picture library in Microsoft Office SharePoint Server 2007

Article ID : 948728
Last Review : March 3, 2008
Revision : 1.1


Consider the following scenario:

• You use the out of the box approval workflow with the Microsoft Office SharePoint Server 2007 picture library or with another library, such as the document library.
• You use the Start this workflow when new item is created rule.
• You use the Cancel this workflow when the: Document is changed rule.
• You upload a new image file by browsing to the file and clicking OK.
• When you are automatically redirected to the metadata screen for the file, you provide the metadata and then click OK.

In this scenario, the workflow displays the following message:


Back to the top


This problem occurs when you are redirected to the /Forms/EditForm.aspx metadata page while you are uploading to a picture library.

Note This metadata page problem is not exclusive to a picture library. This problem may also occur if you allow for management of content types on any other library, regardless of what content types are enabled. Additionally, adding certain columns to other library types, such as a document library, can cause this problem to occur.

When you click OK on the metadata entry page, the workflow sees this action as a change to the item. This unintended change to the item causes the workflow rule to cancel the workflow when the Cancel this workflow when the: Document is changed rule is enabled.

Back to the top


To work around this problem, follow these steps:

1. From the picture library or another library, click Settings, and then click Picture Library Settings.
2. Click Versioning Settings.
3. Click Yes for the Require documents to be checked out before they can be edited? setting, and then click OK.

After you change these settings, a CheckIn button appears instead of an OK button on the metadata entry page when a picture item is uploaded. The CheckIn button does not cause the workflow to be canceled upon upload. This button still allows for successive change to the picture item to cancel the workflow as intended.

You can also work around this problem by clicking Cancel on the metadata page. By clicking Cancel, you receive the effect that you want on the workflow. However, this is not intuitive to the upload process and does not let the user add metadata during upload.

Another way to work around this problem is to click Upload or Upload Multiple Pictures. When you click one of these buttons, the metadata does not appear during the upload process.

Back to the top


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.

Back to the top

• Microsoft Office SharePoint Server 2007

Back to the top

kbtshoot kberrmsg kbpubtypekc kbprb KB948728

Back to the top


Microsoft Knowledge Base Article.This article contents is Microsoft Copyrighted material.
2005-2007 Microsoft Corporation. All rights reserved.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

To prove that you're not a bot, enter this code
Anti-Spam Image