I have a WF with a non initiating Receive Activity. When a different WF executes the SendActivity linked to the ReceiveAct, I get the following error:
"Workflow with id XXXX not found in state persistence store".
This happens only when I have the Persistence server configured with UnloadOnIdle = false, but if I set this parameter to True, the SendActivity is processed correctly. I have checked on the Persistence DB and prior to the SendActivity my WF did not finish
with any kind of error.
My question is the following:
If my WF is not in the Persistence Store, I guess it is still loaded in memory so, how is it possible that the SendActivity fails? Shouldn't the workflow runtime look for the WF Guid in memory before going to the Persistence Store?
Many thanks in advance.
View Complete Post