[rules-dev] Rule-flow variables, declares and dsl's
Stephen Kestle
stephen.kestle at orionhealth.com
Wed Apr 21 21:20:10 EDT 2010
Stephen Kestle wrote:
>
> 1. Is it possible to use a type declared in a dslr inside a rule
> flow? If so, is there a way to make the IDE understand it?
> (currently it complains that it's "Unable to resolve ObjectType
> 'MyType'")
>
I've somewhat answered this... it imports into my knowledge base without
error when I start, but the trigger doesn't seem to get evaluated:
<trigger type="constraint" >
<constraint type="rule" dialect="mvel" >o:MyType()</constraint>
<mapping type="in" from="o" to="myObject" />
</trigger>
Instead, I get an activation when I insert my first object (not a MyType
object), and then nothing ever happens with the ruleflow later...
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5039 (20100418) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20100422/cb266872/attachment-0001.html
More information about the rules-dev
mailing list