One question that keeps popping up now and often is this.

What are the different Integration Scenarios for a BRMS with WWF?

Let me try and summarize all those that I can think of. Well, this is going to get technical.
A Little Background

A workflow is a set of Activities (or actions or tasks). The Activities can execute in 2 ways

  • Sequential, as in specified when the Flow is Designed
  • Event Driven, where the actual sequence of execution depends on the (external) events raised at runtime.

A more detailed treatment of Activities can be found here.

Basic Integration Scenarios

  1. The simplest way is to call the Business Rules Engine from Inside a CodeActivity. Here, you would just call the Rule Engine in an in-process mode. This is just like any other method call.
  2. If each of your Rulesets are exposed as specific Web Services, then you could use a InvokeWebService Activity, in combination with a WebServiceInputActivity and a WebServiceOutputActivity
  3. Now, if you want certain Rules to be Applied on an External Event, like say, an Order Created Event, then you could use the HandleExternalEventActivity and a CallExternalMethodActivity.

The above are some of the most basic scenarios. These, in conjunction with other Activities in a Workflow should provide for common integration scenarios.

Related Posts

  1. Windows Workflow Foundation & Business Rules
Share and Enjoy! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • Furl
  • Ma.gnolia
  • NewsVine
  • Spurl
  • TailRank
  • Reddit
  • SphereIt
  • StumbleUpon
  • Technorati
  • YahooMyWeb

One Response to “Windows Workflow Foundation and Business Rules - Integration Scenarios”  

  1. 1 James Taylor

    Interesting. I posted a couple of times on rules and WWF/Biztalk - check out http://www.edmblog.com/weblog/2005/09/windows_workflo.html and http://www.edmblog.com/weblog/2005/11/biztalk_windows.html. Glad I found your blog.
    JT

Leave a Reply