Periodical service with WF 4.0 RRS feed

  • General discussion

  • Hello, in a WF 4.0 and WCF (stateless) scenario I would like to know how to achieve the following: 


    I would like to launch a periodical process in WF 4.0 that should be just running in one machine, but should continue in another.

    Viva el Betis.
    Monday, March 22, 2010 12:10 PM

All replies

  • Here's a long lost question. Is it periodical meaning you want to launch a new process every X hours? WF4 doesn't have a special mechanism for that, you can invent your own or use a non WF task scheduler API.

    Or is periodical meaning something else like a long running process? And is the main question 'can I resume a WF on machine A that was started on machine B?'

    The answer is yes. When a workflow is persisted, all its instance state gets saved in a database or in general some persistent store. To resume the workflow all you need is the workflow ID, the workflow definition (activity class type), and the instance state data from the persistent store, that can be on any machine.


    Friday, October 22, 2010 3:50 PM
  • Saturday, October 23, 2010 9:22 AM