Friday 1 June 2012

All About Workflow in SharePoint 2010


The Workflow status are constants (integers), So you'll need to refer to a list like:

1. Status: Value
2. Not Started: 0
3. Failed On Start: 1
4. In Progress: 2
5. Error Occurred: 3
6. Canceled: 4
7. Completed: 5
8. Failed On Start(Retrying): 6
9. Error Occurred (Retrying): 7
10. Canceled: 15
11. Approved: 16
12. Rejected: 17

So we need to check if Approval Status equals 17.

No comments:

Post a Comment