<div dir="ltr"><div>Add an Expression instead of a field when adding a constraint to a pattern in the guided rule editor.<br><br></div>With the Expression Builder you&#39;ll be able to traverse your object model.<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 4 October 2013 08:26, rockford <span dir="ltr">&lt;<a href="mailto:ken.helmes@iprocesses.com" target="_blank">ken.helmes@iprocesses.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am working on a risk scanning application and evaluation Drools / Guvnor<br>
for the application.<br>
<br>
The rules will be written to check messages with structure like:<br>
&lt;message&gt;<br>
    &lt;attribute&gt;value&lt;/attribute&gt;<br>
    &lt;attribute&gt;value&lt;/attribute&gt;<br>
    &lt;levelTwo&gt;<br>
         &lt;attribute&gt;value&lt;/attribute&gt;<br>
         &lt;attribute&gt;value&lt;/attribute&gt;<br>
                &lt;levelTwo&gt;<br>
                     &lt;attribute&gt;value&lt;/attribute&gt;<br>
                     &lt;attribute&gt;value&lt;/attribute&gt;<br>
                            &lt;levelThree&gt;<br>
                                  &lt;attribute&gt;value&lt;/attribute&gt;<br>
                                  &lt;attribute&gt;value&lt;/attribute&gt;<br>
<br>
The desired value to check would be something like:<br>
message.levelTwo.levelThree.attribute - where levelTwo and levelThree are<br>
objects from a list.<br>
<br>
I know that this is possible using drl/mvel/java, but I am wondering if this<br>
will work with Guvnor UI?  We have several users writing tens of rules and<br>
the users don&#39;t necessarily have the technical ability to write drl style<br>
rules.<br>
<br>
Does anyone know of a way to do this with the Guvnor UI?<br>
<br>
Ken<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Traverse-object-chain-from-Guvnor-tp4026262.html" target="_blank">http://drools.46999.n3.nabble.com/Traverse-object-chain-from-Guvnor-tp4026262.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div>