Suppose I saved self-hosted workflows(running locally IIS express) using a software implementation WorkflowApplicationusing an object model SqlWorkflowInstanceStore.
app.PersistableIdle = delegate(WorkflowApplicationIdleEventArgs e)
{
return PersistableIdleAction.Unload;
};
Then I accidentally / intentionally stopped my web application, restarted my visual studio (local development).
My questions:
- They rebooted my application, how would I restore the last saved instance of the application from the database and load it for the subsequent bookmark resume?
- How to get the id of the last saved workflow instance id and reload it using the Reload method?
source
share