Thursday, March 5, 2009

Creating Approved/Rejected Views

Today i had a chat with client , he wanted only Approved documents in document library on webpage. initially i thought it was easy when i tried to create a filter and setting the status field to "Approved". but i did not get any approved documents. I wondered finally i came to know that workflow status is taking numeric values(I think backend enumeration) only.















The values are below


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