AnsweredAssumed Answered

Error occured in workflow (nintex failed to start workflow. the given key was not present in the dictionary)

Question asked by jortiz8@slb.com on Feb 1, 2017
Latest reply on Mar 8, 2017 by thomas.xu@velrada.com

We have an approval workflow which are running on the SharePoint list item. It starts when new item created in the SharePoint list.Daily instances are running for this approval workflow is approx 100. This error (Nintex failed to start workflow. the given key was not present in the dictionary) occurs in approx in 3-4 months for some of the instances of the workflow.


Below is the error stack


Nintex.Workflow.NWActionExecutionException: Failed to start workflow. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Nintex.Workflow.KnownWorkflowTypes.GetWorkflowType(String type) at Nintex.Workflow.Activities.ReportingHeaderActivity.TryCreateWorkflowInstance(NWWorkflowContext ctx, ActivityFlags parentFlags) at Nintex.Workflow.Activities.ReportingHeaderActivity.Execute(ActivityExecutionContext executionContext)
Nintex Workflow 2010 General 0000 Unexpected ...t System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime) at System.Workflow.Runtime.Scheduler.Run()


Please help me to find out the exact root cause of this issue? and solution to avoid such kind of issue in the future.

 

Below are detail of Nintex version,

Nintex version: Nintex Workflow 2010 (2.3.10.25)

Outcomes