| dmessenger@verdantsys.com 2005-05-12, 5:50 pm |
| Hi,
We are using the Microsoft.RuleEngine independent of BizTalk 2004 and
all is working fine. We now have a requirement to merge 3 rulesets on
the fly to cover the rule requirements for 3 different parties
operating over a single document.
There are three alternatives:
1) Create File Rulestores or SQL DB Rulestores for every combination;
2) Run each rule set independently; or
3) Build a custom rule store that merges the 3 rulesets on the fly when
loading.
Alternative #1 is not scalable. #2 is the way we do it now, but it
doesn't truly give us what we require (e.g. an action in ruleset 2 may
require rules in ruleset 1 to re-execute). #3 is our best bet.
However, I cannot find any documentation or guidance on how to do #3. I
assume we can just inherit a custom Rulestore from the base RuleStore
class and replace the overridable functions, but it would be nice to
have a sample or something to work from.
Has anyone done this before, or can point us at documentation that will
help us do what we want to do ?
Regards
Dominic
|