Vadim Tabakman

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.

StatusInternal Status IDDescription
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.

Workflow Status

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.

Workflow Status Datasheet View You can now see the workflow status codes, as they are kept internally.

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.

Configure View

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.

Posted by Vadim Tabakman Friday, November 16, 2012 12:52:00 PM Categories: Nintex Nintex Workflow SharePoint
Copyright Vadim Tabakman
Rate this Content 0 Votes

Comments

Wednesday, April 17, 2013 8:45:37 PM
Kat

re: Nintex Workflow - Workflow Status Codes

Ah, awesome post. Saved my sanity!!!

Thursday, April 18, 2013 1:35:58 PM

re: Nintex Workflow - Workflow Status Codes

Hi Kat,

I'm so glad this has helped you.

cheers,

Vadim

Tuesday, April 23, 2013 7:04:02 AM
Alice van Winden

re: Nintex Workflow - Workflow Status Codes

I'm having a problem changing properties of a form and see workflow status 8 when trying to update in datasheetmode.

Tuesday, April 23, 2013 7:26:10 AM

re: Nintex Workflow - Workflow Status Codes

Hi Alice,

I've updated this post with the definition of what 8 means.

cheers,

Vadim

Tuesday, April 23, 2013 7:27:35 AM

re: Nintex Workflow - Workflow Status Codes

Alice,

the ViewQueryOverload, could be that you've reached the List Query Threshold.  Check in your Central Admin > Manage Web Applications, select your web app and in the ribbon, click on Resource Throttling. I believe there's a threshold limit there.

cheers,

Vadim

Friday, June 20, 2014 12:51:49 AM
Felix
Gravatar

re: Nintex Workflow - Workflow Status Codes

I was trying to filter by 'In Progress' and it wouldn't work until I found this article, thanks!

What I've found also is if you set your own custom statuses using the 'Set workflow status' action, the Internal ID used to filter would become 15,16,17,... etc. corresponding to the items in the dropdown list of status text in the 'Set workflow status' configuration settings. eg. if I had 'Submitted', 'Pending Approval', 'Approved'. Then the ID would be 15=Submitted, 16=Pending Approval, 17=Approved.

You may like to just confirm this.

Friday, June 20, 2014 7:40:06 AM

re: Nintex Workflow - Workflow Status Codes

Hi Felix,

oh thanks for letting me know.  I"ll check that out.

cheers,

Vadim

Monday, August 17, 2015 1:25:08 PM
jai
Gravatar

re: Nintex Workflow - Workflow Status Codes

Is it possible to change the WF status text after it has been created in nintex?

Monday, August 17, 2015 3:39:19 PM

re: Nintex Workflow - Workflow Status Codes

Hi Jai,

you should be able to use the Set Workflow Status action.

cheers,

Vadim

Wednesday, December 23, 2015 2:33:34 PM
Gurjit Singh
Gravatar

Series of workflows

Vladimir,

First of all thank you for putting up so much information and really helpful one at that. This is priceless.

I have a problem which is confounding me to an extent. Let me put up the situation to you.

1) I have a project list. The project has a template which defines what are the major milestones for that project.

        a) When a new project is created a user may select to create these milestones. Or the user may just create and later modify the item to create the milestones.

        b) A project is created and a workflow is initiated to create the Milestones based on the template.

        c) An entry is made into a helper list Task helper, which starts a workflow on Create, to create Tasks for the milestone if any are existing in the Milestone definition.

2) A user may create a copy of an existing project, by editing an existing item and selecting Clone Project.

        a) A copy of the project is created and an entry is made into a Milestone Monitor list with the new and old Project Ids.

        b) A workflow is initiated on the Milestone Monitor list, which obtains all the Milestones create for old Project and Creates a copy referencing the new Project.

        c) An entry is made into a helper list Task helper, which starts a workflow on Create, to create Tasks for the milestone if any are existing in the Milestone definition.

 

Both these processes work correctly, no errors or wrongly referenced data. the first method has one helper list, the second has two helper lists. Both these cases have the helper lists initiate WF's on Create.

The problem is that it takes a long time to create the Milestonse for a Project. The project gets created instantaneously during Clone too, but the rest of the items have workflows in "Starting" state for a long time and "In Process" state takes long time too.

Would you be kind enough to shed some light on this. Do let me know if you would need to gather additional information.

 

Thanks,

Gurjit Singh

Thursday, March 10, 2016 3:47:46 PM

re: Nintex Workflow - Workflow Status Codes

So I got a status code of 18 and only hint I got was the word "Start..." b/c the workflow is setting the workflow status text to In Progress before you can see it, but in datasheet view it shows 18... Just curious if perhaps this is "Started by System" or something like that b/c the action is start approval...

Just thought I would ask :)

Thanks.

SG.

Thursday, March 10, 2016 4:14:21 PM

re: Nintex Workflow - Workflow Status Codes

Hi Shane,

hmm I've never seen 18.  That's an odd one.  I wouldn't even know what it could be.

On-prem or O365?

Is this a Nintex workflow, SPD or out of the box workflow?

vadim

Tuesday, March 15, 2016 10:36:00 AM
Dhinesh Kumar J
Gravatar

re: Nintex Workflow - Workflow Status Codes

Hi Vadim,

     I have some different behaviour, let me explain the concepts, please let me know how to achieve the same, I have 7 workflow attached to the same list, But only one workflow will be running based on the user submission, the issues here Business users doesn't want to have 7 workflow columns for workflow status. they asked to show status in only one column since anyway one workflow going to run against the item. 

thanks & regards,

Dhinesh Kumar J. 

Monday, April 18, 2016 11:11:31 AM
Robert Szabo
Gravatar

re: Nintex Workflow - Workflow Status Codes

Hi,

I created custom WF status strings in the workflow (to replace In progress). Is there any way to get the Value of these?

I'd like to create List Views and Filter by the custom status values.

Thanks in advance!

Robert

Wednesday, May 4, 2016 6:23:30 PM
Pete
Gravatar

re: Nintex Workflow - Workflow Status Codes

Hi Thank you for this.

This works great in a view. I have to check if a WF 2 is running before I call it from WF1. Is there a way to 'Wait For' WF2 not to be running based on custom status codes I've provided? Or do i need to check state of a list item column? 

Thanks!

You must sign in to this site to post comments.
Already Registered?
Sign In
Not Yet Registered?
Register





 

Statistics

  • Entries (272)
  • Comments (1768)

Categories