AnsweredAssumed Answered

Flexitask change to CANCEL for some workflows

Question asked by side54723 on Aug 25, 2016
Latest reply on Aug 28, 2016 by side54723

Hello,

 

I have an issue using workflow for SharePoint 2013 on premise :

  1. I receive error email from the flexi task i think, mentioning that the workflow terminated unexpectedly. When i check the flexi tasks, it is switched to canceled. Below screenshots of the configuration.
  2. Topology :
    1. 1 WFE : the service workflow timer service is activated
    2. 1 APP : holding central admin and search, the service wf timer service is NOT YET (edit : last info i got from the sharepoint admin, ill re test after) stopped (as suggested by this article Workflows and the SharePoint services required to run them and this article https://community.nintex.com/community/build-your-own/blog/2015/08/28/the-infamous-failed-to-run-errors-in-the-history-list)
  3. I checked the logs, i cant find anything interesting on the WFE, but some interesting things on APPS (find below screenshot
  4. For info this workflow is registered on a publishing page library where Check-in checkout is activated
  5. It happens randomly, sometimes on other pages created, the workflow runs normally without error

 

Logs on app server

 

 

.RunWorkflow: Microsoft.SharePoint.SPException: Configuration system failed to initialize at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.SubCompiler.DoCompile(WorkflowCompilerParameters parameters, String xomlSource, String assemblyName, CompilationPacket& packet, DirectoryInfo& tempDir) at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.SubCompiler.DoCompile(WorkflowCompilerParameters parameters, String xomlSource, String assemblyName, CompilationPacket& packet, DirectoryInfo& tempDir) at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.<>c__DisplayClasse.<DoCompileNewAppDomain>b__c() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.DoCompileNewAppDomain(WorkflowCompilerParameters parameters, String xomlSource, String assemblyName, SPWeb web, CompilationPacket& packet, DirectoryInfo& tempDir) at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.CompileBytes(Byte[] xomlBytes, Byte[] rulesBytes, Boolean doTestCompilation, String assemblyName, SPWeb web, Boolean forceNewAppDomain) at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association, Boolean fallback) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow) at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)

 

Error showing by email to admins

 

workflow history

 

 

flexi task configuration

 

flexi task - reminder config

 

flexi task config

 

thanks for your help !

Outcomes