Add an Expression instead of a field when adding a constraint to a pattern
in the guided rule editor.
With the Expression Builder you'll be able to traverse your object model.
On 4 October 2013 08:26, rockford <ken.helmes(a)iprocesses.com> wrote:
I am working on a risk scanning application and evaluation Drools /
Guvnor
for the application.
The rules will be written to check messages with structure like:
<message>
<attribute>value</attribute>
<attribute>value</attribute>
<levelTwo>
<attribute>value</attribute>
<attribute>value</attribute>
<levelTwo>
<attribute>value</attribute>
<attribute>value</attribute>
<levelThree>
<attribute>value</attribute>
<attribute>value</attribute>
The desired value to check would be something like:
message.levelTwo.levelThree.attribute - where levelTwo and levelThree are
objects from a list.
I know that this is possible using drl/mvel/java, but I am wondering if
this
will work with Guvnor UI? We have several users writing tens of rules and
the users don't necessarily have the technical ability to write drl style
rules.
Does anyone know of a way to do this with the Guvnor UI?
Ken
--
View this message in context:
http://drools.46999.n3.nabble.com/Traverse-object-chain-from-Guvnor-tp402...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users