WF 4.5's DynamicUpdate with XAMLX RRS feed

  • Question

  • Is it possible to use the new WF4.5 DynamicUpdate features in XAMLX-based designer and workflow?  I don't see any information related to that.

    bruce chase

    Tuesday, October 9, 2012 5:31 PM


  • The simple answer is yes you can. DynamicUpdate basically lets you support versioning for your workflow definitions. It will allow you to make changes to a running instance of a workflow to accomodate a new workflow definition. This is done by creating a DynamicUpdateMap that contains the "instructions" the Workflow runtime needs to modify the persisted workflow instance to reflect the new definition. The DynamicUpdateMap, however, is a set of API's that get called starting with DynamicUpdateServices.PrepareForUpdate method. You can save the UpdateMap to a file and apply it to a persisted workflow instance at a later date. This process of creating the map is separate from the running workflow. Here is the MSDN link - http://msdn.microsoft.com/en-us/library/hh314052.aspx. I hope that gets you started!
    • Marked as answer by LeoTang Wednesday, November 7, 2012 8:31 AM
    Saturday, October 20, 2012 1:44 AM