WWF PERSISTENCE USING ASP.NET

hi everyone. i reading many example about SqlWorkflowPersistenceService, but my question if the server that run the workflow restarted and my workflow have information such as

in my project when any one host workflow the first step will send information FirstName, MiddleName, LastName, CardId and another information thats need in workflow. Suppose after the user send the information to workflow and the sequence workflow wait for external event but before the external event accour the server are restart. all the information about the user will not save only the SqlWorkflowPersistenceService save the Instanceid and other in the SQL_Database but the information not save, i wondering if i can save this state after restart oky this is my proplem. can anyone help me with example using asp.net C#.net or Vb.net .

thanks all.




Answer this question

WWF PERSISTENCE USING ASP.NET

  • StephanieR

    Do you have UnloadOnIdle set to true for the persistence service Are the values you want stored sent to the workflow as parameters If you answered yes to both questions then the values should be getting stored within the workflow when it persists waiting for the external event. When your host restarts just make sure you point to he same persistence database and when the events come in the workflow will restart where it left off. An example can be found here.

  • WWF PERSISTENCE USING ASP.NET