Create a custom view on Workflow Task Status

I came across to the requirement to create a custom view based on workflow status.

Requirement was to show all the approved items.


I found a interesting stuff, Filter will not work if we use words like below image:


we would need use the number rather than the words (e.g. 2 instead of In Progress, 4 instead of Cancelled etc)

Following list might help for this kind of requirement:

Status
Value
Not Started
0
Failed on Start
1

In Progress
2

Error Occurred
3

Canceled
4

Completed

5
Failed on Start (retrying)

6
Error Occurred (retrying)
7

Canceled
15

Approved
16

Rejected

17

Hope this will save your time!


Comments

Popular posts from this blog

Provider Hosted App - Azure and Read, Write to SharePoint List with real example

Permission denied for "Add and Customize Pages" in Sharepoint Online

SharePoint 2013 Workflow gets canceled automatically