I have an exception with WorkflowCore
at the end of the flow.
Because I'm searching the web and there is not so much information about it.
I get an error at the end of the process
fail: WorkflowCore.Services.BackgroundTasks.WorkflowConsumer[0]
Error executing item b40f0553-1184-4417-8aab-9d60961bd14f - Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at WorkflowCore.Services.BackgroundTasks.WorkflowConsumer.ProcessItem(String itemId, CancellationToken cancellationToken)
at WorkflowCore.Services.BackgroundTasks.WorkflowConsumer.ProcessItem(String itemId, CancellationToken cancellationToken)
at WorkflowCore.Services.BackgroundTasks.QueueConsumer.ExecuteItem(String itemId, EventWaitHandle waitHandle, Activity activity)
It happens every time I run flow (at the end).
I saw that this function throws the exception
GetWorkflowInstance
Has anyone seen a similar problem and can advise help?
Thanks