[rules-users] Traverse object chain from Guvnor

Michael Anstis michael.anstis at gmail.com
Fri Oct 4 06:27:24 EDT 2013


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 at 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-tp4026262.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20131004/5e6d6dba/attachment.html 


More information about the rules-users mailing list