Thursday, March 24, 2016

Error in "Pause for" Action - Nintex Workflows

In this below script, "Pause for" Action - Nintex Workflow

Pause for Action - Nintex Workflow In SharePoint

·        Email triggered says Workflow Terminated unexpectedly for item.

·        Error message logged was “Error POC 1” failed to run.

·        I got below information when I discussed this issue with nintex support

 

SharePoint dictates which Workflow Timer Service will run the workflow - so this could occur on any server on which the "Microsoft SharePoint Foundation Workflow Timer Service" is enabled.

 

When Nintex is deployed it install’s some DLL’s required for workflows on the WFE’s where

 Microsoft SharePoint Foundation Web Application service is enabled.

So when Workflow Timer Service attempts to run a workflow where Microsoft SharePoint Foundation Web Application is disabled it throws error.

 

Solution:

·        Disable Workflow Timer Service to all the WFE’s where Microsoft SharePoint Foundation Web Application service is disabled.

·        Or Enable Microsoft SharePoint Foundation Web Application Service on all WFE’s.

 

1)               Related Issues: So due to the above reasons not only “Pause for” action throws error but some below mentioned actions also throws error.

 

2)               Change State: Since while changing state in a State Machine Workflow, a hidden delay is involved. So in that case also, it may throw error in case after delay it got caught by WFE where Microsoft SharePoint Foundation Web Service is disabled but Workflow Timer Service is enabled.

 

3)               Pause Until: This action also throws error while in a paused state until some date is passed.

 

4)               Assign Flexi Task: Due to the delay involved before sending reminders, it may error out.

 

Similarly Task Reminder Action, Request Data, or any other action where delay is involved may throw errors if occupied by wrongly configured WFE’s.

 

No comments:

Post a Comment