locked
Persistence and WCF Workflow Service (.xamlx) RRS feed

  • Question

  • Hello,

    I have a WCF Workflow Service (WorkflowService.xamlx)  that persists into SQL Server,  everything works fine...

     ISSUES :

    the business process is changed and  I changed the workflow definition (some changes in FlowChart diagram ). Result=> old instance already persisted  not work...

    Note : the variables of workflow  remain the same, all the WCF contracts are the same, just a activitie  appear and one  arrow is changed...

    How to do to recover instances already  persisted and work with it?

    Thank you!

    Khalid.

     

     

    Friday, March 4, 2011 2:46 PM

Answers

  • Unfortunately there is no way to recover a persisted instance once the workflow definition has changed.

    In the next release we are enabling a new feature (dynamic update) that will allow you to upgrade a persisted instance.  Until then your only option is to load the instance under the Workflow Definition it was created with.


    Sr. Program Manager, AppFabric Development Platform (WF/WCF) http://blogs.msdn.com/rjacobs http://www.twitter.com/ronljacobs
    • Proposed as answer by Andrew_Zhu Tuesday, March 8, 2011 3:40 AM
    • Marked as answer by Tim Lovell-Smith Sunday, October 2, 2011 5:00 PM
    Friday, March 4, 2011 4:32 PM

All replies

  • Unfortunately there is no way to recover a persisted instance once the workflow definition has changed.

    In the next release we are enabling a new feature (dynamic update) that will allow you to upgrade a persisted instance.  Until then your only option is to load the instance under the Workflow Definition it was created with.


    Sr. Program Manager, AppFabric Development Platform (WF/WCF) http://blogs.msdn.com/rjacobs http://www.twitter.com/ronljacobs
    • Proposed as answer by Andrew_Zhu Tuesday, March 8, 2011 3:40 AM
    • Marked as answer by Tim Lovell-Smith Sunday, October 2, 2011 5:00 PM
    Friday, March 4, 2011 4:32 PM
  • Hi Ron can you please reply to question posted on my thread:

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/0d125a31-b3f7-4abb-92f1-7d555558e7e7/how-to-do-dynamic-update-of-persisted-workflow-instance-when-using-the-wcf-workflow-service?forum=wfprerelease

    I'll truly appreciate your help
    Thursday, September 4, 2014 7:56 PM