Workflow History – Event Type Numbers Decoded
On a SharePoint site’s hidden Workflow History list you might stumble across some strange numbers. The Event Type is used to store a numeric value and below I’ve listed what each means in plain English.
These map to Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType which contains their values in Visual Studio for developers.
Unfortunately MSDN does not list the numeric values for use by power users to create filtered views in the browser. However, I have them here:
| Number | Event Type |
| 0 | None |
| 6 | TaskCompleted |
| 5 | TaskCreated |
| 9 | TaskDeleted |
| 7 | TaskModified |
| 8 | TaskRolledBack |
| 3 | WorkflowCancelled |
| 11 | WorkflowComment |
| 2 | WorkflowCompleted |
| 4 | WorkflowDeleted |
| 10 | WorkflowError |
| 1 | WorkflowStarted |

Useful!
I have used this list on multiple occasions with simple xsl tricks to get nicer reporting. Great to know I now have a quick list I can refer to 🙂
Useful!
I have used this list on multiple occasions with simple xsl tricks to get nicer reporting. Great to know I now have a quick list I can refer to 🙂
*pat on back* thanks for this.