Filter list based on Approval Status

WSS and MOSS, status are stored as integers.

The default values are:

ErrorOccurred = 3,
ErrorOccurredRetrying = 7,
FailedOnStart = 1,
FailedOnStartRetrying = 6,
InProgress = 2,
Max = 15,
NotStarted = 0,
StoppedByUser = 4,
ViewQueryOverflow = 8
Rejected = 17
Approved = 16
Canceled = 15

The workflow status is stored as an integer. you need to filter for 'is equal to 15' to get the approved items

Comments

Popular posts from this blog

Apply CSS styles to SharePoint Web parts

SharePoint Number Column Without Commas

Create Summary view of SQL Datatable