Don Cameron

Is there a way for the host application to force persistance of the workflow Having the persist on idle works, but we would like to force the persistence immediately if possible. If not the host, what about the workflow

thanks
Don


Re: Windows Workflow Foundation Force workflow persistance?

Saurabh Chechi - MSFT

Hi Don,

You can call instanec.Unload on workflow instance to force it to persist. The call will block until the scheduled work is finished. You can call instance.Load() to load back the instance.

hope this helps.

Thanks

Saurabh