<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Thanks for the response.  Could you send (or point me to) a set of examples that illustrate this query pattern?<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV>Phil</DIV><DIV><BR><DIV><DIV>On Feb 27, 2007, at 4:18 PM, Michael Neale wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">not at the moment - you can kind of achieve this by adding some extra patterns for the queries that act as parameters.<BR><BR>This is at least the second time we have had this request - Mark when did we decide we would do this? I am not sure if it will be for 3.2, but we will do it sooner or later, I remember that much.<BR><BR><DIV><SPAN class="gmail_quote">On 2/28/07, <B class="gmail_sendername">Phil DiBona</B> &lt;<A href="mailto:pdibona@atl.lmco.com">pdibona@atl.lmco.com</A> &gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><BR><BR>I would like to create a DROOLS Query that allows parameters to be <BR>passed in from the Java side. This would allow me to easily filter<BR>the query results without changing the query itself. Other rule<BR>engines (e.g., JESS) can parameterize queries and this is a very<BR>powerful feature. <BR><BR>But can DROOLS provide parameters to its queries? Or is there some<BR>design "pattern" or rule-of-thumb I should use to filter query results?<BR><BR>Thanks,<BR>Phil<BR><BR><BR>_______________________________________________ <BR>rules-dev mailing list<BR><A href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</A><BR><A href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</A> <BR></BLOCKQUOTE></DIV><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">rules-dev mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>