<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>Oh, right. I am using 5.1.0.M2.<br><br>Thanks,<br>Patricia<br><br><br>--- On <b>Sun, 7/18/10, Salaboy <i><salaboy@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Salaboy <salaboy@gmail.com><br>Subject: Re: [rules-users] How to configure conditional elements (IN, FROM) in Guvnor and more<br>To: "Rules Users List" <rules-users@lists.jboss.org><br>Cc: "rules-users@lists.jboss.org" <rules-users@lists.jboss.org><br>Date: Sunday, July 18, 2010, 11:17 AM<br><br><div id="yiv1321523784"><div>Which version of guvnor are you using? <br><br><div>- CTO @ <a rel="nofollow" target="_blank" href="http://www.plugtree.com"></a><a rel="nofollow" target="_blank" href="http://www.plugtree.com">http://www.plugtree.com</a></div><div>- MyJourney @ <a
rel="nofollow" target="_blank" href="http://salaboy.wordpress.com"></a><a rel="nofollow" target="_blank" href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a></div><div>- Co-Founder @ <a rel="nofollow" target="_blank" href="http://www.jbug.com.ar"></a><a rel="nofollow" target="_blank" href="http://www.jbug.com.ar">http://www.jbug.com.ar</a></div>- Mauricio "Salaboy" Salatino -</div><div><br>On Jul 18, 2010, at 4:22, Patricia Bogoevici <<a rel="nofollow" ymailto="mailto:patriciabogoevici@yahoo.com" target="_blank" href="/mc/compose?to=patriciabogoevici@yahoo.com">patriciabogoevici@yahoo.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi,<br><br>I am evaluating Drools Guvnor for our application, and I am stuck with a few things. I appreciate a lot, if someone can help me, or give me some hints. <br><br>1) How can I
configure Guvnor, BRL Guided Editor, to allow for IN conditional element?<br>By default, when I create a new package, and then create a new BRL rule, I have these options for a text Fact field:<br>- equal<br>- not equal<br>- matches<br>- sounds<br>I do have the IN conditional element for the Decision Table rule - "is contained in the a (comma separated) list". <br><br>2) How can I configure Guvnor, Decision table, to use the FROM condition element?<br>I have a fact, Fact1, that contains a list of Fact2. The condition I need to configure in the Decision Table, is to iterate the collection of Fact2 objects that is on the Fact1, and apply constraints on Fact2 fields. <br><br>3) How
can I insert a list of facts when testing a rule? My test case is the following:<br>I have a Fact1, which contains a list of Fact2. And the rule, is expecting to get Fact1, with a list of Fact2 inside. <br>When I create the Fact1, and add the collection field, it shows the option to create a guided list where I can specify a literal value, or a variable. But there is nowhere to create a Fact2 with its fields. I did inserted 2 separate Fact2 objects, but how I can link these 2 objects to the collection of the Fact1?<br><br>Thanks in advance,<br>Patricia</td></tr></tbody></table><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rules-users mailing list</span><br><span><a rel="nofollow" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="/mc/compose?to=rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span><br><span><a rel="nofollow" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></span><br></div></blockquote></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>rules-users mailing list<br><a ymailto="mailto:rules-users@lists.jboss.org" href="/mc/compose?to=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></div></blockquote></td></tr></table><br>