Hi,

2010/12/8 Robert Miyashiro <[email protected]>:
> Is there some kind of evaluation mode or setting that will make
> Drools pay attention to the order in which objects are inserted into the
> session?

Not that I know of, but here's a way to externally supply the pairs of
objects to fire on:

rule
when
    $list1 : ArrayList()
    $list2 : ArrayList()
    Pair(first==$list1, second==$list2)
then

If you find yourself reasoning about the order and timing of insertion
events, you may want to look into drools fusion instead.


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

Reply via email to