01-16-06 10:54 PM
Hello,
I have a question on using the Business Rules engine in BizTalk 2004.
I want design a business rule policy where I pass in two objects of the
same type, and evaluate the the values of certain properties on both of
those objects from within the Business Rules Engine.
Here's an example: I have a class called MyClass, and want to pass the
instances newMyClass and oldMyClass into the Rules Engine. From within
the Business Rules composer, I want a rule that's like this:
if(newMyClass.Name Is Not Equal To oldMyClass.Name)
Then
"Blah"
Now, I can setup my vocabulary to have two instances of MyClass, and
pass those into my Policy. However, I can't seem to evaluate the
properties on MyClass from within the Business Rule Composer. Is it
simply a matter of setting up a definition within my Vocabulary that
points to the property? If so, how do I tell the definition that I want
it to be the property from the newMyClass instance, rather than the
oldMyClass instance?
Any help is appreciated. I've tried searching around for some good
Business Rule Composer tutorials, but have found precious few resources.
If anyone has links to good resources on using the BRE, that would be
appreciated, as well.
Thanks,
Craig Vermeer
[ Post a follow-up to this message ]
|