Geeks With Blogs
Simon's blog

When you want to filter a document library or list using the approval status, entering Completed or Pending into the Filter by field doesn’t work, all the status’ are stored as a integer, below are the codes I have come across and tested so far:

  • NotStarted = 0
  • FailedOnStart = 1
  • InProgress = 2
  • ErrorOccurred = 3
  • StoppedByUser = 4
  • Completed = 5
  • FailedOnStartRetrying = 6
  • ErrorOccurredRetrying = 7
  • ViewQueryOverflow = 8
  • Canceled = 15
  • Approved = 16
  • Rejected = 17
Posted on Friday, April 12, 2013 11:02 AM SharePoint 2010 , Workflow status , Filtering views | Back to top


Comments on this post: SharePoint 2010 Workflow status values

# re: SharePoint 2010 Workflow status values
Requesting Gravatar...
Hi,

Thanks for the info; I have come across the same codes on some other sites too but have still not found the description for each of these codes :(

Is there any info available on that plz ? I want to know what exactly is '3' error occurred ? Or even the others

Thanks

Sam
Left by Sam on Oct 05, 2014 5:16 PM

# re: SharePoint 2010 Workflow status values
Requesting Gravatar...
Cool! Thanks for the tip. I wonder if there is an enum object for the various statuses.
Left by AdamantineWolverine on Nov 21, 2014 2:04 AM

# re: SharePoint 2010 Workflow status values
Requesting Gravatar...
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflow.spworkflowstatus.aspx

Found the enum for the workflow status by searching for MOSS 2010 Workflow Status enum.

The enum is:
NameSpace: Microsoft.SharePoint.Workflow
Enum: SPWorkflowStatus
Left by AdamantineWolverine on Nov 21, 2014 2:07 AM

# re: SharePoint 2010 Workflow status values
Requesting Gravatar...
Thanks for this, don't know how I'd figure out half of my SharePoint problems without help from random articles on the internet because SP documentation is just awful.
Left by Dan on Mar 05, 2015 6:36 PM

# What about custom statuses?
Requesting Gravatar...
Say you set your own workflow statuses to some appropriate descriptive text. How do you find out the numeric values attributed to these?
Left by Trojanian on Jan 14, 2016 1:33 PM

# re: SharePoint 2010 Workflow status values
Requesting Gravatar...
Now you can pass your exam by the first attempt you use 70-686 exam dumps during preparation. This material has been designed under the supervision of experts and it is so appropriate that you just need to study this material with full focus and you will not feel any need to prepare from anywhere else. You can download this helping material in PDF or you can test your knowledge on testing engine and can improve your drawbacks. You can download demo questions free of cost as a quality check. You will be satisfied with the quality and results of this material with sure. https://www.dumps4download.com/70-573-dumps.html
Left by albert on Jan 24, 2018 11:57 AM

Your comment:
 (will show your gravatar)


Copyright © simonh | Powered by: GeeksWithBlogs.net