locked
Is it possible to dynamically update the workflow service definition(to add and remove activities) RRS feed

  • Question

  • Hi,

    I have created a workflow service(XAMLX extension). It consists of custom activities(code activity, native activity, XAML activity) as child activities and has been configured for persistence.

    Is it possible to dynamically update the workflow service definition(to add and remove activities)

    Thanks,

    Neha

    Tuesday, January 11, 2011 8:20 AM

All replies

  • Not an easy one because since persistence does not track definition itself, it's up to you (the service host) load the correct definition before loading/resuming the worklfow.

    However, this will be one of the greatest features supported on vNext by Dynamic Update.

    See this video by Ron at 44 mins:

    http://player.microsoftpdc.com/Session/3b87c17b-a218-40d3-984f-78a012331dee

    There is a way to do this kind of version redirection (redirect but not UPGRADE) the persitence resumption to the right definition, however this can be done only on custom hosting, like we do, you can look at here:

    http://adrianot75.wordpress.com/2010/11/05/sample-real-world-wf4-integration/

    Hope it helps,

    Regards


    Adriano
    • Proposed as answer by Andrew_Zhu Thursday, January 13, 2011 3:24 AM
    • Marked as answer by NehaGupta Monday, January 17, 2011 11:13 AM
    • Unmarked as answer by NehaGupta Thursday, February 10, 2011 6:58 AM
    Tuesday, January 11, 2011 8:43 AM
  • Hi ,

    The video by Ron shows features which applies to next version of WF.

    Your other links does not specify how to version workflow services or how to update the workflow service definition without rebuilding the application.

    Thanks

    Neha

    Thursday, February 10, 2011 7:02 AM
  • Hi,

    Any inputs to my question?

    Any input to versioning workflow service definitions.

    Thanks,

    Neha

    Friday, February 11, 2011 7:24 AM