locked
ManualWorkflowSchedulerService Vs.DefaultWorkflowSchedulerService RRS feed

  • Question

  • I have an requirement where i need to use both DefaultWorkflowSchedulerService and ManualWorkflowSchedulerService.

    Any best practices to run this scenario?
    Thursday, September 3, 2009 8:23 PM

Answers

  • you can have two different runtimes in the same app domain, that might be the easiest way.  Otherwise, you can write a custom scheduler and somehow try to tell it how to act in each scenario -but that seems like a lot more work to me. 

    matt
    Check out Pluralsight On Demand! http://www.pluralsight.com/main/olt/
    Sunday, September 6, 2009 1:35 AM

All replies

  • you can have two different runtimes in the same app domain, that might be the easiest way.  Otherwise, you can write a custom scheduler and somehow try to tell it how to act in each scenario -but that seems like a lot more work to me. 

    matt
    Check out Pluralsight On Demand! http://www.pluralsight.com/main/olt/
    Sunday, September 6, 2009 1:35 AM
  • And by the way, in WF4 we have aligned on SynchronizationContext as our threading construct:
    http://kennyw.com/work/workflow/381
    Tuesday, September 8, 2009 7:52 PM
  • Hi Matt & Kenny,
    Thanks for the reply.  Let me apply both approaches and update this forum how it works.

    Thanks.
    Tuesday, September 8, 2009 11:00 PM