ivi
Nintex Observer

Nintex Workflow Exception - Update Document failed to run

Thank you for taking the time to read this post.

 

Situation: 

We are currently trying to update a word document with data from workflow variables and list items from an item linked to a Nintex Form. (Submitted as a Nintex Form). However specific items (about 2% of all items) will fail to run at Update Document (Word Document). Restarting the workflow for those specific items will always fail 

 

Attempt:

I broke down the update document into 5 parts where the Word Document is mapped at maximum 15 variables at a time, in order to see if there was a pattern of where it was failing. I found out through this that each specific CIDR had a consistent specific set of variables that it would fail at every time it ran. For example item 211 would always fail at the variables of part 3 (if I made part 3, part 2, then part 2 would be the area it would fail in) while item 222 would fail at the variables associated to part 2. It seemed like one of the variables was the culprit, however the difficulty is that each item has its own set of variables that it will fail into, making it difficult to develop a consistent solution. 

 

I also attempted to add pauses in between which did start working for most of the items (described in more detail below)

 

I also tried creating a duplicate of the item through the copy item and the item failed at the same part as its original. 

 

Solution:

I did however find a partial solution. Adding pauses in between the update document parts (1 pause before update document when it was not broken into parts did not work) started to work on the majority of the items, reducing the failed items to 0.5% from 2%. However even the items from 0.5% are important to map into a word document for our business process.

 

Logs:

The logs produced on the error are as following (Also attached as Excel for easier view):

 

05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error getting populating _workflowContext data for ListItem 'Form Data' ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.3h0=(SPListItem 3x0=, SPFieldCollection 4B0=, NWContextDataCollection 4R0=, ContextDataOptions 4h0=, Dictionary`2 4x0=) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8
05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error retrieving list item _workflowContext data. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.3h0=(SPListItem 3x0=, SPFieldCollection 4B0=, NWContextDataCollection 4R0=, ContextDataOptions 4h0=, Dictionary`2 4x0=) at Nintex.Workflow.NWListWorkflowContext.GetContextData(ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8
05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error getting context data for 'WorkflowStatusUrl'. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.GetContextData(ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8
05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error getting context data for 'WorkflowLogUrl'. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.GetContextData(ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8
05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error getting context data for 'ItemUrl'. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.GetContextData(ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8
05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error getting context data for 'ItemDisplayName'. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.GetContextData(ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8
05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error getting context data for 'ListName'. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.GetContextData(ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8
05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error getting context data for 'ListID'. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.GetContextData(ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8
05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error getting context data for 'DocumentCheckedOutUser'. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.GetContextData(ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8
05/21/2019 09:05:02.70 OWSTIMER.EXE (0x2510) 0x0450 Nintex Workflow General 0 Unexpected : Nintex.Workflow.NWException: Error getting context data for 'IsDocumentWritable'. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Nintex.Workflow.NWListWorkflowContext.GetContextData(ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging) --- End of inner exception stack trace --- (Build:4330) dec9de9e-d131-50d2-2b7c-d0280aee29b8

 

 

Environment: Sharepoint 2016 on-premise (has gone through migration from Sharepoint 2010)

 

Please do not hesitate to let me know if I have missed any important information. 

0 Kudos
Reply