cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Stalled Start Workflow action

We have broken up a large workflow into several smaller workflows. We have one parent workflow that calls child workflows. We use the Nintex Start Workflow action to start the child workflows. For one of the calls we have the option "Wait for the workflow to complete before continuing" enabled. For the last few months this has been working as expected. Recently the parent workflow stalls on the Start Workflow action. The parent workflow calls the child workflow successfully, the child workflow completes successfully, but the parent workflow does not register the child workflow has completed. The OWSTIMER service is running as expected and there are no errors in the workflow history/ SharePoint logs. Any ideas?

Labels: (2)
Reply
9 Replies
Highlighted
Not applicable

Re: Stalled Start Workflow action

Hi Jan,

Have you taken a look at Workflows not continuing - Timer Service and Delays‌? That looks to be helpful and seems to be related with your problem.

Reply
Highlighted
Nintex Newbie

Re: Stalled Start Workflow action

Hi Lean,

Thanks for taking the time to respond and the useful links. After reviewing the SP version numbers were more recent than the known bugs, and confirming no unexpected behaviour with the SP Timer job we went back to the SP logs. For another instance of a workflow in error we saw the following error:

07/25/2014 08:20:15.53OWSTIMER.EXE      0x1678SharePoint Foundation        Workflow Infrastructure      88xrUnexpectedWinWF Internal Error, terminating workflow Id# e6519297-0a49-4a98-939d-09d29dfb459326ee8225-4e0e-416c-bf6b-0a540ad9c94e
07/25/2014 08:20:17.07OWSTIMER.EXE      0x2AFCSharePoint Foundation        Workflow Infrastructure      936lHighEngine RunWorkflow: System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.Workflow.SPWorkflowExternalDataExchangeServiceCollection.get_Item(Guid id)     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.Send(SPWorkflow workflow, SPWinOeWorkflow winoeworkflow, SPWorkflowEvent e)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)

This error is on the child workflow and occurs at the time it is supposed to be completing. I suspect there is a race condition in the child workflow and will see if I can replicate the same behaviour in a test environment.

0 Kudos
Reply
Highlighted
Not applicable

Re: Stalled Start Workflow action

Hi Jan,

I did a quick google of the errors you provided, specifically this:

Engine RunWorkflow: System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.Workflow.SPWorkflowExternalDataExchangeServiceCollection.get_Item

I found this thread which contains some possible solutions:

Nintex Connect - Start Workflow action error

Here is a summary of the solutions discussed:

  • Our customer worked with Nintex Support to resolve this error.   It turned out that NW had not been activated for the Web Application in Central Administration.Unfortunately, there was no indication that NW had not been activated.   Except for workflows starting workflows error, things seemed to have been working properly

If that doesn't work, try the below:

  • We compared our production environment (which works) against our dev server (where the error occurs). The dev server has "Enable safe looping" set to Yes, the production server has set to "No". We changed the "Enable safe looping" setting to "No" on the dev server, and the "Start Workflow" action with wait for completion checked now works.

If doesn't work still, maybe try contacting Support

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Stalled Start Workflow action

Thanks for the continued support Lean. We did come across the same article, but unfortunately non of the ideas apply. Since this periodically does work for us, I do believe this is a race condition. I will update this when I am able to figure this out.

0 Kudos
Reply
Highlighted
Not applicable

Re: Stalled Start Workflow action

Jan,

Were you ever able to figure this out? Our farm has run into the same issue. Start Workflow seems to run fine until someone uses the "wait until..." attribute. Then, the child workflow completes but the parent workflow never finishes; just sits at "In Progress."

Very frustrating. I reached out to Nintex support, but they only directed me here.

0 Kudos
Reply
Highlighted
Not applicable

Re: Stalled Start Workflow action

Hi Jan,

Check SharePoint Log messages for more information.

Thanks

Arun

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Stalled Start Workflow action

Hi Arun, Yes we checked the SP logs as indicated above. We got this to work by not using "Wait for the workflow to complete before continuing" option and including a "wait until..." action afterwards. This seemed to correct the workflow in this scenario.

We have seen the same behaviour Danaye experienced above for other workflows where the "wait until..." never gets triggered and nothing is logged in SP logs, but in this particular case it seems to be working fine.

Reply
Highlighted
Nintex Newbie

Re: Stalled Start Workflow action

Hi Jan,

Did you ever resolve this fully. We are seeing a similar situation where the workflows work on most occasions but sometimes the parent does not continue!

Reply
Highlighted
Nintex Newbie

Re: Stalled Start Workflow action

UP

0 Kudos
Reply