locked
Windows Workflow Foundation RRS feed

  • Question

  • 1) Is it possible to make the state a configurable item. In the sense tomorrow if I want to add a new state, can that be added by configuring and not by code change?
    2)Is it possible to make the event a configurable item. In the sense tomorrow if I want to add a new event, can that be added by configuring and not by code change?


    Friday, October 14, 2005 8:44 AM

Answers

  • Hi,

    Our dynamic update feature allows the adding/removing of activities at runtime.  Through this feature, you could add an additonal state at runtime without having to bring your workflow down, recompile, and then start it again.

    We have a hands on lab that illustrates this feature.  You can download the set of labs from http://msdn.microsoft.com/workflow, and then look into the dynamic updates lab which demonstrates this feature.

    To address your second question, if by event you are refering to dynamically adding an EventSink activity, then the answer above applies ("yes").  But if you are talking about a new event on a local service which and EventSink activity can be used to listen for, then the answer is "no" because the adding of an event to a local service is actually code and it would require a recompile to be used.

    Hope this helps!
    Angel
    Friday, October 14, 2005 9:27 AM
    Moderator

All replies

  • Hi,

    Our dynamic update feature allows the adding/removing of activities at runtime.  Through this feature, you could add an additonal state at runtime without having to bring your workflow down, recompile, and then start it again.

    We have a hands on lab that illustrates this feature.  You can download the set of labs from http://msdn.microsoft.com/workflow, and then look into the dynamic updates lab which demonstrates this feature.

    To address your second question, if by event you are refering to dynamically adding an EventSink activity, then the answer above applies ("yes").  But if you are talking about a new event on a local service which and EventSink activity can be used to listen for, then the answer is "no" because the adding of an event to a local service is actually code and it would require a recompile to be used.

    Hope this helps!
    Angel
    Friday, October 14, 2005 9:27 AM
    Moderator
  • Hi Angel,

    Thanks for your response. I will try out the dynamic updates and get back.

    Amirtharaj
    Friday, October 14, 2005 9:38 AM