Hi @Juan Jimenez ,
The bug is closely related to the HostLockRenewalPeriod property, which defines how long the obtained instance handle is valid without being updated.
You can try setting <workflowIdle timeToUnload="0"/>
, a service behavior that controls when idle workflow instances are unloaded and persisted.
https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/windows-workflow-foundation/workflowidle?redirectedfrom=MSDN
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.