stag, 7. Februar 2013 18:59
An: Rules Users List
Betreff: Re: [rules-users] Find out order of insert in RHS
If object creation is done in the same order as the insertion: surely a simple
static counter in the class would give you the required monotonous value.
Otherwise, a listener could be set, whi
If object creation is done in the same order as the insertion: surely
a simple static counter in the class would give you the required
monotonous value.
Otherwise, a listener could be set, which will "see" the actual order
of insertion, and it can set the order-of-insertion property.
-W
On 07/0
Hi everybody,
short: is there a way to have an automatic counter for the RHS of a rule when
inserting several objects in one rule?
Long:
I use drools with a DSL to insert items for a frontend dropdown box. The
generated rule is e.g. like the following one:
rule "testRule_H"
dialect