views:

24

answers:

0

Hi

i try to add persistance to my workflow using sql service persistance and all i know is how to add Persistence Service to the Workflow Runtime using code in the host app or web.config file.i my case i have WF as a webservice so i add to my Web.config this code:

  <add type="System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService,
    System.Workflow.Runtime, Version=3.0.00000.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35" UnloadOnIdle="true" LoadIntervalSeconds="5" ConnectionString="Initial Catalog=SqlPersistanceFF; Data Source=aa\SQLEXPRESS;
         Integrated Security=SSPI;" />
</Services>

and when i check my database i found the instance of my workflow was added succefully to my InstanceState table,but how can i reload again all my workflows to the state before the shutdown of the web service.

Thanks