Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
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
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)
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:
- In the library choose Modify this view.
- 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. - Click OK to save the changes.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
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
| kberrmsg kbtshoot kbexpertiseinter kbprb KB925425 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate