Thanks, would it be possible to include a short example? Thanks, David
David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobison(a)openroadsconsulting.com
web:
You wouldn't be able to execute a query after the return of
execute()
from a stateless knowledge session.
Consider writing a low-salience rule that fires for the conditions you'd
use in the query and add the matching facts to a global List, or insert
a single fact prepared to collect these facts in a List attribute; keep
the reference to the collector.
-W
On 12/12/2012, David R Robison <drrobison(a)openroadsconsulting.com> wrote:
> I tried this with no success. Any thought on how to resolve this? I have
> a package defined in Guvnor and referenced in my change set. I can set
> it up and fire all rules but I need a way to get the results out of my
> stateless knowledge session. Any thoughts? David
>
> David R Robison
> Open Roads Consulting, Inc.
> 103 Watson Road, Chesapeake, VA 23320
> phone: (757) 546-3401
> e-mail: drrobison(a)openroadsconsulting.com
> web:
http://openroadsconsulting.com
> blog:
http://therobe.blogspot.com
> book:
>
http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526
>
> On 12/11/2012 5:12 PM, Michael Anstis wrote:
>> There isn't an explicit editor for this - there's a JIRA for it, but I
>> forget the number.
>>
>> You might be able to work around it by either modifying the
>> drools.package asset or adding a query definition in the advanced view
>> of the package imports or global settings. All are added to the
>> package DRL at compile time. I've not tried any of these, so cannot
>> guarantee any actually work.
>>
>> sent on the move
>>
>> On 11 Dec 2012 21:59, "David R Robison"
>> <drrobison(a)openroadsconsulting.com
>> <mailto:drrobison@openroadsconsulting.com>> wrote:
>>
>> Is there a way to create a Query in Guvnor? I am using 5.4.0.
>> Thanks, David
>>
>> --
>>
>> David R Robison
>> Open Roads Consulting, Inc.
>> 103 Watson Road, Chesapeake, VA 23320
>> phone: (757) 546-3401 <tel:%28757%29%20546-3401>
>> e-mail: drrobison(a)openroadsconsulting.com
>> <mailto:drrobison@openroadsconsulting.com>
>> web:
http://openroadsconsulting.com
>> blog:
http://therobe.blogspot.com
>> book:
>>
>>
http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526
>>
>>
>>
>> This email communication (including any attachments) may contain
>> confidential and/or privileged material intended solely for the
>> individual or entity to which it is addressed.
>> If you are not the intended recipient, please delete this email
>> immediately.
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org <mailto:rules-users@lists.jboss.org>
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> This email communication (including any attachments) may contain
> confidential and/or privileged material intended solely for the individual
> or entity to which it is addressed.
> If you are not the intended recipient, please delete this email
> immediately.
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
This email communication (including any attachments) may contain confidential and/or
privileged material intended solely for the individual or entity to which it is
addressed.
If you are not the intended recipient, please delete this email immediately.