It would be good too if you could provide us your model (or at least a part of it).<div><br></div><div>Best,<br><br><div class="gmail_quote">On Wed, Mar 17, 2010 at 3:24 AM, Toni Rikkola <span dir="ltr">&lt;<a href="mailto:trikkola@redhat.com">trikkola@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">You can create a Jira for this and upload the jar file there.<br>
<a href="https://jira.jboss.org/jira/browse/GUVNOR" target="_blank">https://jira.jboss.org/jira/browse/GUVNOR</a><br>
<br>
We will take a look at it and fix it if it is a bug.<br>
<br>
Toni<br>
<div class="im"><br>
Amit Kumar wrote:<br>
&gt; Sorry for spamming today<br>
&gt; It does seem to be working after I add &quot;Any of the following&quot; or &quot;All<br>
&gt; of the following&quot; and then add the attributes to it. So workaround is<br>
&gt; there..<br>
&gt; But when I add &quot;There is a Equipment&quot; and add a attribute then it<br>
&gt; permits me to assign a variable to it<br>
&gt; like Equipment(eId : entityId)<br>
&gt; but it does not &quot;correctly&quot; give me that variable assigning capability<br>
&gt; in the &quot;Any of &quot; or &quot;All of&quot; blocks .. so struck issue.<br>
&gt; Thanks,<br>
&gt; Amit<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Mar 16, 2010 at 1:58 PM, Amit Kumar &lt;<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
</div><div class="im">&gt;     Ok I tried again.  :(<br>
&gt;<br>
&gt;     In Equipment I only see manufacturer<br>
&gt;     In EquipmentCA I also only see manufacturer<br>
&gt;     In Software I do not see anything.<br>
&gt;<br>
&gt;     It contains many more classes<br>
&gt;<br>
&gt;     Not sure what I am breaking.. but if you want I can send you my<br>
&gt;     model files to you (in case you want to try). Do not want to post<br>
&gt;     it on alias<br>
&gt;<br>
&gt;     Thanks<br>
&gt;     Amit<br>
&gt;<br>
&gt;<br>
&gt;     2010/3/16 Esteban Aliverti &lt;<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt;         But, which fields didn&#39;t appear in guvnor?<br>
&gt;<br>
&gt;         2010/3/16 Amit Kumar &lt;<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a><br>
</div>&gt;         &lt;mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt;             Probably because of OStype and OSversion. Let me fix that<br>
&gt;             and convert to lower case and try. I remember facing this<br>
&gt;             issue sometime back with 5.0<br>
&gt;             Thanks<br>
&gt;             Amit<br>
&gt;<br>
&gt;             On Tue, Mar 16, 2010 at 9:17 AM, Amit Kumar<br>
</div><div class="im">&gt;             &lt;<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a> &lt;mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;                 Its coming from a JAR<br>
&gt;                 Thanks<br>
&gt;                 Amit<br>
&gt;<br>
&gt;                 Equipment<br>
&gt;                       entityId        int<br>
&gt;                       partNumber      String<br>
&gt;                       manufacturer    String<br>
&gt;                       owningEntityId  int<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                 Software<br>
&gt;                       entityId        int<br>
&gt;                       OSType  String<br>
&gt;                       OSVersion       String<br>
&gt;                       imageName       String<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                 EquipmentCA extends Equipment<br>
&gt;                       hostname        String<br>
&gt;                       productName     String<br>
&gt;                       productFamily   String<br>
&gt;                       productId       String<br>
&gt;<br>
&gt;                 2010/3/16 Esteban Aliverti &lt;<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a><br>
</div>&gt;                 &lt;mailto:<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt;                     Are you importing your model from a .jar or using<br>
&gt;                     a Declarative Model?<br>
&gt;<br>
&gt;<br>
&gt;                     On Tue, Mar 16, 2010 at 6:28 AM, Toni Rikkola<br>
</div>&gt;                     &lt;<a href="mailto:trikkola@redhat.com">trikkola@redhat.com</a> &lt;mailto:<a href="mailto:trikkola@redhat.com">trikkola@redhat.com</a>&gt;&gt;<br>
<div class="im">&gt;                     wrote:<br>
&gt;<br>
&gt;                         Hi,<br>
&gt;<br>
&gt;                         Its possible that there are some bugs in the<br>
&gt;                         snapshots. Can you tell me<br>
&gt;                         what your model looks like?<br>
&gt;<br>
&gt;                         Toni<br>
&gt;<br>
&gt;                         Amit Kumar wrote:<br>
&gt;                         &gt; The latest builds seem to be no good for guvnor<br>
&gt;                         &gt; They do seem rich in features .. especially<br>
&gt;                         support for<br>
&gt;                         &gt; collect/accumulate in guvnor along with<br>
&gt;                         inbox and global packages.<br>
&gt;                         &gt;<br>
&gt;                         &gt; But But But.. on adding a fact in the<br>
&gt;                         when/then clause then all the<br>
&gt;                         &gt; attributes of the facts are not coming ..<br>
&gt;                         some attributes come.. not<br>
&gt;                         &gt; all of them.<br>
&gt;                         &gt; I am picking it from here<br>
&gt;                         &gt;<br>
&gt;                         <a href="https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/" target="_blank">https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/</a><br>


&gt;                         &gt; Any other place I can look :)<br>
&gt;                         &gt;<br>
&gt;                         &gt; Thanks<br>
&gt;                         &gt; Amit<br>
&gt;                         &gt;<br>
&gt;                         &gt; On Mon, Feb 22, 2010 at 8:54 AM, Amit Kumar<br>
&gt;                         &lt;<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a> &lt;mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>&gt;<br>
</div>&gt;                         &gt; &lt;mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a><br>
<div class="im">&gt;                         &lt;mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>&gt;&gt;&gt; wrote:<br>
&gt;                         &gt;<br>
&gt;                         &gt;     Thanks Jervis!!<br>
&gt;                         &gt;<br>
&gt;                         &gt;     On Sun, Feb 21, 2010 at 7:05 PM,<br>
&gt;                         Jervisliu &lt;<a href="mailto:jliu@redhat.com">jliu@redhat.com</a><br>
&gt;                         &lt;mailto:<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>&gt;<br>
</div>&gt;                         &gt;     &lt;mailto:<a href="mailto:jliu@redhat.com">jliu@redhat.com</a><br>
<div><div></div><div class="h5">&gt;                         &lt;mailto:<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>&gt;&gt;&gt; wrote:<br>
&gt;                         &gt;<br>
&gt;                         &gt;         A new feature called &quot;Sharable<br>
&gt;                         artifacts/Global artifacts&quot; will be<br>
&gt;                         &gt;         available in Drools 5.1. This<br>
&gt;                         feature allows you share an<br>
&gt;                         &gt;         asset among<br>
&gt;                         &gt;         different packages. It also creates<br>
&gt;                         a global area (you can<br>
&gt;                         &gt;         consider it<br>
&gt;                         &gt;         as a global package). Potentially<br>
&gt;                         you can promote an asset<br>
&gt;                         &gt;         that you<br>
&gt;                         &gt;         think is more appropriate to be<br>
&gt;                         defined in a global scope from<br>
&gt;                         &gt;         your<br>
&gt;                         &gt;         current package to the global area,<br>
&gt;                         so that this global asset<br>
&gt;                         &gt;         can be<br>
&gt;                         &gt;         reused by every package. This<br>
&gt;                         feature is already on trunk,<br>
&gt;                         &gt;         maybe you<br>
&gt;                         &gt;         want to give it a try. Any comments<br>
&gt;                         or feedbacks will be highly<br>
&gt;                         &gt;         appreciated.<br>
&gt;                         &gt;<br>
&gt;                         &gt;         Cheers,<br>
&gt;                         &gt;         Jervis<br>
&gt;                         &gt;<br>
&gt;                         &gt;<br>
&gt;                         &gt;         Amit Kumar wrote:<br>
&gt;                         &gt;         &gt; Hello All,<br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;         &gt; I am looking to organize the rules<br>
&gt;                         in different categories.<br>
&gt;                         &gt;         But for<br>
&gt;                         &gt;         &gt; distribution purposes We are<br>
&gt;                         creating packages for different<br>
&gt;                         &gt;         &gt; roles/processing phases<br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;         &gt; So a rule will reside in one<br>
&gt;                         pckage but for navigation it<br>
&gt;                         &gt;         can belong<br>
&gt;                         &gt;         &gt; to multiple categories<br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;         &gt; So packages are like Shirts,<br>
&gt;                         Pants, Shoes, Sweaters<br>
&gt;                         &gt;         &gt; Categories are Color, Material,<br>
&gt;                         Size, Gender and those have sub<br>
&gt;                         &gt;         &gt; categories witin them<br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;         &gt; We have rules which will device<br>
&gt;                         the category of the item<br>
&gt;                         &gt;         &gt; Like &quot;red rule&quot;, &quot;blue rule&quot;,<br>
&gt;                         &quot;cloth rule&quot;, leather rule&quot;<br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;         &gt; Now the problem we are facing is<br>
&gt;                         for category rules is if I<br>
&gt;                         &gt;         define the<br>
&gt;                         &gt;         &gt; rule in Shirt package .. then I<br>
&gt;                         will not be able ot use it<br>
&gt;                         &gt;         in Pant<br>
&gt;                         &gt;         &gt; package.. Will have to redefine it.<br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;         &gt; The other problem in this scenario<br>
&gt;                         is If I have a price rule<br>
&gt;                         &gt;         in Shirt<br>
&gt;                         &gt;         &gt; package and the category is &quot;Blue<br>
&gt;                         Color&quot; and &quot;XL Size&quot; then<br>
&gt;                         &gt;         I will<br>
&gt;                         &gt;         &gt; have to put it in both categories<br>
&gt;                         &gt;         &gt; When I put the &quot;Blue Rule&quot; on<br>
&gt;                         &quot;Blue Category&quot; and &quot;XL Rule&quot;<br>
&gt;                         &gt;         on &quot;XL<br>
&gt;                         &gt;         &gt; Category&quot;  and I put the rule in<br>
&gt;                         both categories.. will it<br>
&gt;                         &gt;         be an &quot;and&quot;<br>
&gt;                         &gt;         &gt; relationship or will be an &quot;OR&quot;<br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;         &gt; Regards,<br>
&gt;                         &gt;         &gt; Amit<br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;<br>
&gt;                         ------------------------------------------------------------------------<br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;         &gt;<br>
&gt;                         _______________________________________________<br>
&gt;                         &gt;         &gt; rules-users mailing list<br>
&gt;                         &gt;         &gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;                         &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt;                         &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;                         &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;&gt;<br>
&gt;                         &gt;         &gt;<br>
&gt;                         <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;                         &gt;         &gt;<br>
&gt;                         &gt;<br>
&gt;                         &gt;<br>
&gt;                         _______________________________________________<br>
&gt;                         &gt;         rules-users mailing list<br>
&gt;                         &gt;         <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;                         &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt;                         &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;                         &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;&gt;<br>
&gt;                         &gt;<br>
&gt;                         <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;                         &gt;<br>
&gt;                         &gt;<br>
&gt;                         &gt;<br>
&gt;                         &gt;<br>
&gt;                         ------------------------------------------------------------------------<br>
&gt;                         &gt;<br>
&gt;                         &gt; _______________________________________________<br>
&gt;                         &gt; rules-users mailing list<br>
&gt;                         &gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;                         &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt;                         &gt;<br>
&gt;                         <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;                         &gt;<br>
&gt;<br>
&gt;                         _______________________________________________<br>
&gt;                         rules-users mailing list<br>
&gt;                         <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;                         &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt;                         <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div class="im">&gt;                     --<br>
&gt;                     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>
&gt;<br>
&gt;                     Esteban Aliverti<br>
&gt;<br>
&gt;                     _______________________________________________<br>
&gt;                     rules-users mailing list<br>
&gt;                     <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
</div><div class="im">&gt;                     &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt;                     <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;             _______________________________________________<br>
&gt;             rules-users mailing list<br>
&gt;             <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;             &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt;             <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         --<br>
</div><div class="im">&gt;         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>
&gt;<br>
&gt;         Esteban Aliverti<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         rules-users mailing list<br>
</div><div><div></div><div class="h5">&gt;         <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a> &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>


&gt;         <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
</div>