Sample Activity - Call BizTalk Rules

I have been looking at scenarios involving Workflow and BizTalk and figured a good place to start was with Rules integration.  If you have rules already defined in the BizTalk BRE, then you should be able to take advantage of them from a Workflow instead of trying to translate all of those rules into the WF rules engine. 
 
The BRE activity allows you to reuse your investment in the BizTalk BRE be configuring and executing policies from your workflow.  It contains a custom activity designer that queries information about the policy/facts and builds a dynamic set of properties so that you can configure the facts right on the activity and use databinding. 
 
This is definitely a sample but works with my simple tests.  I have not added support for data connection or data row/table facts, but it should be easy enough for someone to add those into the designer. 
 
Hopefully this will be useful for some of you.  Any feedback is welcome. 
 
Grab the code here.
 

Posted Nov 03 2006, 12:56 AM by matt-milner

Comments

BizTalk ChalkTalk wrote Community Content for WF, WCF, and BizTalk Server
on 12-13-2006 5:44 PM
In addition to the content posted earlier , there is other great content from the community that showcases
Hussein Ahmad wrote re: Sample Activity - Call BizTalk Rules
on 04-30-2007 10:38 AM
do we need a license for BRE ? how is BRE licensing looks like in BizTalk ?
Matt Milner wrote re: Sample Activity - Call BizTalk Rules
on 04-30-2007 5:50 PM
Hussein,
You do need a BizTalk license for the Microsoft BRE as far as I know. Check out the www.microsoft.com/biztalk/ for info on licensing.

If you don't already have BizTalk, you might look at the rules engine in Workflow Foundation, as it is free and provided as part of the .NET 3.0 framework.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?