Meanwhile, you can work around that using globals to set your parameters and referencing the globals in your queries. Not ideal, but while we don't have a better way, it may work.

  []s
  Edson

Michael Neale wrote:

not at the moment - you can kind of achieve this by adding some extra patterns for the queries that act as parameters.

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.

On 2/28/07, *Phil DiBona* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:



    I would like to create a DROOLS Query that allows parameters to be
    passed in from the Java side. This would allow me to easily filter
    the query results without changing the query itself. Other rule
    engines (e.g., JESS) can parameterize queries and this is a very
    powerful feature.

    But can DROOLS provide parameters to its queries? Or is there some
    design "pattern" or rule-of-thumb I should use to filter query
    results?

    Thanks,
    Phil


    _______________________________________________
    rules-dev mailing list
    [email protected] <mailto:[email protected]>
    https://lists.jboss.org/mailman/listinfo/rules-dev


------------------------------------------------------------------------

_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev


--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @ www.jboss.com


_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev

Reply via email to