Nintex Workflow – Workflow Status Codes
When a Nintex workflow runs in SharePoint, it can have one of a number of states.
Below is a list of the out-of-the-box SharePoint workflow states.
|Status||Internal Status ID||Description|
|Not Started||0||The workflow has not started.|
|Failed on Start||1||Indicates that the workflow encountered an error when it started.|
|In Progress||2||Workflow is currently in progress.|
|Error Occurred||3||An error occurred during the execution of the workflow.|
|Canceled (Stopped by User)||4||Workflow execution was halted by a specified user.|
|Completed||5||The workflow is completed.|
|Failed on Start (retrying)||6||Indicates that the workflow is being retried after it failed to start.|
|Error Occurred (retrying)||7||Indicates that the workflow is being retried after an initial failure.|
|View Query Overflow||8||This member is reserved for internal use and is not intended to be used directly from your code.|
|Reserved for Microsoft||15||This member is reserved for internal use and is not intended to be used directly from your code.|
When you run workflows on items in your list, SharePoint will create a Workflow status column for each workflow type that has run. The field for each item will contain a link which will take you to the workflow history of that workflow instance.
You can see the “Completed”, “In Progress” and “Error Occurred” status in the above screenshot.
If you want to see the internal codes, you can simpy change the view of your list to datasheet view using the button in the ribbon.
This is useful if you want to create a new view on your list, and only show where a particular workflow type is of a particular state.
eg. I want to see all the items whose “Cogni Workflow” is completed.
As you can see, you simply set a filter on the view, pick the workflow status column and type in the numerical value of the status for that workflow.
Save the view, and you should now see the items that match this filter.