Forum Discussion
OnPremise - Sharepoint 2019 - Workflow
I have an on premise version of Sharepoint 2019 with a 2013 workflow that has worked properly for years without an issue.
Now we are having an issue with the Workflow on single item and the item was started back on March 14th and has now been suspended with the following error:
RequestorId: XXXXX-XXXX-XXXX-0000-000000000000. Details: Microsoft.Activities.Dispatcher.WorkflowSessionConfigurationFailedException ---> System.ArgumentException: The value supplied was not valid runtime state. Parameter name: deserializedRuntimeState at System.Activities.Hosting.WorkflowInstance.Initialize(Object deserializedRuntimeState, DynamicUpdateMap updateMap) at Microsoft.Activities.Hosting.WorkflowSession.ConfigureEnvironment(Activity workflowDefinition, IWorkflowConfiguration workflowConfiguration, IEnumerable`1 hostExtensions) at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.ConfigureWorkflowSessionEnvironment(MessageSessionContext messageSession, WorkflowSession workflowSession, Activity rootActivity, IWorkflowConfiguration workflowConfiguration) --- End of inner exception stack trace --- at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.ConfigureWorkflowSessionEnvironment(MessageSessionContext messageSession, WorkflowSession workflowSession, Activity rootActivity, IWorkflowConfiguration workflowConfiguration) at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.ConfigureSession(WorkflowSessionResumptionContext context) at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.GotResumptionContextForProcessWaiter(IAsyncResult result) at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.Isolate(AsyncCompletion callback, IAsyncResult result)
Resuming and ending the workflow doesn't do anything, and trying to terminate it through powershell also doesn't do anything and it continues to sit there being suspended and will not allow new workflows to start for this item. Is there another way we can terminate the workflow, or fix the item to get the workflow to either complete or terminate it by itself?