I use queries to encapsulate sets of patterns for re-use.
Look at connect, isContainerIn, look etc:
https://github.com/droolsjbpm/drools/blob/master/drools-examples/src/main/resources/org/drools/games/adventures/Queries.drl

Then look at their use here:
https://github.com/droolsjbpm/drools/blob/master/drools-examples/src/main/resources/org/drools/games/adventures/Commands.drl

Mark

On 19 Feb 2014, at 21:29, ismaximum <mnr...@gmail.com> wrote:

> Any idea? I'd like to hear from Drools developers!
> 
> 
> 
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/Question-about-query-tp4028158p4028197.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to