Skip to main content
Nintex Community Menu Bar

Nintex workflow errors out at end of workflow

  • February 17, 2016
  • 15 replies
  • 208 views

Forum|alt.badge.img+5

Hi,

I am having numerous issues with workflows firing off a workflow errored message after the workflow has successfully completed. Is this a known bug? How can I fix this? I've checked the workflow statuses and everything is green so nothing specific is malfunctioning (what I wrote at least). Since all of the steps are completed this makes me believe that the workflow fails to successfully end itself. Any ideas as to what could be causing this? I've been getting the same two emails each time (see below).

The Venue Workflow workflow has ended unexpectedly for (no title).

An error has occurred in Venue Workflow.

Click here to view the workflow status.

The Venue Workflow workflow has ended unexpectedly for (no title).

The workflow could not update the item, possibly because one or more columns for the item require a different type of information.

Click here to view the workflow status.

The second error notification made me think that it had to do with an actual step, however, all the steps completed successfully and like I said earlier the workflow status doesn't show an error on any step.

Any help would be greatly appreciated as this is driving me nuts!

Thanks,

Greg

15 replies

Forum|alt.badge.img+7
  • Nintex Partner
  • February 17, 2016

Do you update one or many items ?

Update multiple items are executed asynchonously, meaning :

- NINTEX ask SharePoint to update the items (batch)

- NINTEX WOrkflow goes on

- SharePoint does the job in some minutes....depending on the batch

That means that even if if your update items fails, the workflow could have had enough time to complete : NINTEX workflow is not able to catch the error, as it appears after ending.


Forum|alt.badge.img+5
  • Author
  • February 17, 2016

Hey Thomas,

I update two items, which are updated correctly each time. This is why I don't understand how it fails.

-Greg


Forum|alt.badge.img+12
  • February 17, 2016

Hi Greg,


Can you try putting a Commit pending changes action after your Update action.  If that doesn't work, try putting a pause action in there and pause for a few minutes. See if that clears it up!

Thanks


Forum|alt.badge.img+5
  • Author
  • February 17, 2016

Hey Mike - we don't have the "Commit Pending Changes" action available for us. Not sure why, but I don't get paid the big bucks to make those decisions. Anyways, I had a pause setup at the beginning of the workflow and it still had the same issue. Do you think putting a pause after update the item will work? I initially had the pause at the very beginning, but will try at the end.

Thanks,

Greg


Forum|alt.badge.img+7
  • February 17, 2016

Hello Greg,

The workflow could not update the item, possibly because one or more columns for the item require a different type of information.

This error occurs when you are trying to update some data into the different type of List column. Eg: Updating String data into the Integer column.

But strangely after this error, your workflow is completing and updating the item too!

Try to put more variables and log them in using log in history list action to know where it is failing.


Forum|alt.badge.img+12
  • February 17, 2016

Hi Greg,

I would definitely try putting it at the end of the workflow in this case.  This error usually does indicate that the wrong type of info is going into a column that doesn't like what it is receiving however I've seen strange issues occur around this before when a web service or something else would time out, so the error seemed misleading.   Anyways, having this at the end might give the workflow enough time to resolve these errors or make them more evident.   Its worth a shot.

Thanks


Forum|alt.badge.img+5
  • Author
  • February 17, 2016

Thanks Mike - I went ahead and put them at the end and it still errors out.

Hey Soni - I'll take a look at this.


Forum|alt.badge.img+11
  • February 17, 2016

How many actions does this workflow has? If possible I'd break this into several mini-workflows to see where exactly it is having problems. Then I'd start logging so I could see the exact action.


Forum|alt.badge.img+12
  • February 17, 2016

Taking a look at the ULS logs might reveal what's going on here.  Do you have access to the logs on your SP server? 


Forum|alt.badge.img+5
  • Author
  • February 17, 2016

The workflow has 10 actions in it not including the pause for durations. Unfortunately I do not have access to the logs. I'll go ahead and replicate the workflow in a separate site and see if I can pin point the issue via mini-workflows.


Forum|alt.badge.img+11
  • February 17, 2016

You can use the Log History action as well to help troubleshoot. You can check variables, field values and everything. It also helps see how far you get in your actions.


Forum|alt.badge.img+5
  • Author
  • February 17, 2016

Hey MIke - after refreshing all instances, had about 175 going earlier (very active site). it appears that the pause sequence at the end after each condition possibility might be working. Hopefully I should be good going forward. Thank you everyone for the help.

-Greg


Forum|alt.badge.img+12
  • February 18, 2016

Right on Greg, glad to hear it. happy.png


Forum|alt.badge.img+4
  • Rookie
  • August 23, 2016

Hi Greg,

You can refer below  Allan's solution.

Swap


Forum|alt.badge.img
  • September 10, 2020
which one? I am in 2020 and this still errors