Workflow status columns report the current status of a workflow. A unique workflow status column is created in your list automatically when you create a new out-of-the-box or SharePoint Designer workflow. SharePoint uses the name of your workflow as the name of your workflow status column.
You would expect you could use the workflow status 'Completed' or 'In Progress' as a filter for your list or document library view. But you cannot!
The reason is that SharePoint uses numerical status codes for workflow states. And you need to use these numerical status codes to filter on the workflow state.
Here's a list of workflow states and their numerical status:
- NotStarted = 0
- FailedOnStart = 1
- InProgress = 2
- ErrorOccurred = 3
- StoppedByUser = 4
- Completed = 5
- FailedOnStartRetrying = 6
- ErrorOccurredRetrying = 7
- ViewQueryOverflow = 8
- Max = 15
- Approved = 16