Article ID: 925425 - Last Review: December 13, 2010 - Revision: 3.0

SharePoint: Error message when you create a view that contains a workflow status filter

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario:
  • You create a new form library in SharePoint
  • You create a new workflow on the new form library settings page. This new workflow uses the Approval template under Settings.
  • You create a new view in the form library. To do this, you select the workflow that you created from the list in the Filter section of the new view. Under the new workflow, you select not equal to. Then, you type Approved in the filter field.
In this scenario, you receive the following error message when you try to select the new view in the form library:
Render Failed (SharePoint 2007)

Exception from HRESULT: 0x80131904 (SharePoint 2010)

WORKAROUND

To work around this problem, add the integer value for the Approved string in the filter field when you create the new view. To do this, follow these steps:
  1. In the library choose Modify this view.
  2. In the Filter section, delete Approved from the filter field. Then, type 16.

    Note The number 16 is the integer value for the Approved string.
  3. Click OK to save the changes.

STATUS

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


MORE INFORMATION

Workflow Status Integer values

NotStarted = 0
FailedOnStart = 1
InProgress = 2
ErrorOccurred = 3
StoppedByUser = 4
Completed = 5
FailedOnStartRetrying = 6
ErrorOccurredRetrying = 7
ViewQueryOverflow = 8

Rejected = 17
Approved = 16
Canceled = 15

APPLIES TO
  • Microsoft Windows SharePoint Services 3.0
  • Microsoft Office SharePoint Server 2007
  • Microsoft SharePoint Foundation 2010
  • Microsoft SharePoint Server 2010
Keywords: 
kberrmsg kbtshoot kbexpertiseinter kbprb KB925425