Skip to main content

Suddenly, I found out that a Thousands of errored and cancelled Workflow in myList.

I could not find a reson for that and the users keep receiving emails for those errors(workflow failed to run)

Actually we have the august Cumulative update in our farm, So we did this PS code to run all SP2010 Workflow:


Add-PSSnapin Microsoft.SharePoint.PowerShell
$farm=Get-SPFarm
$farm.EnablePreParseSecurityCheckForWorkflow = $false
$farm.update()

 

Also , I found this nintex article for the failed to run error  and we did the PS code also:

$webapp = Get-SPWebApplication -identity http://<web app name>

$webapp.UpdateWorkflowConfigurationSettings()

 

And we  purge nintex Workflow history List 

NWAdmin.exe –o PurgeHistoryListData -siteUrl http://yoursite.com/ -lastActivityBefore 2014-07-01 00:00 -state SELECT STATE‍‍‍‍‍‍‍‍‍‍‍‍‍‍

 

 

After All that ; i still have the problem.

 

Any help please, it's on PROD environment and its for thousands Workflow instance.

Thank you 

 

Try to create a test workflow with a flexi task action on a new list and check if the same error will appear. 



If yes, then it is due to the cumulative update. 



Please, visit this link to get more information about how it resolves: https://blogs.msdn.microsoft.com/rodneyviana/2018/09/13/after-installing-net-security-patches-to-add...



 



Otherwise, you also have a video:





 


Thank you for your response, 



I want to know what do you suggest of the errored and cancelled instances,



Users keep receiving error email.


Hi @timen 



 



I'm sorry to hear that your workflows are failing, we need to investigate this further; could you please contact Support@nintex.com and we'll hopefully get this resolved for you.



 



Sumit


Reply