I completely fail to understand the purpose of this rule. What I see here is
that lots of code don't change anything: the same objects will be inserted
again - more or less.

-W


On 6 July 2011 12:33, Wolfgang Laun <[email protected]> wrote:

> I think that you have to access the property id of the matched System
> object and use this for constructing the new System facts:
>
>     id $system.getId()
>
> -W
>
>
>
>
> On 6 July 2011 12:21, _bart <[email protected]> wrote:
>
>> If I remove  /id equals to $id  / in the WHEN part, I can set the id in
>> the
>> THEN part. But then the use case getOneObjectById does not work.
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/Drools-Guvnor-problem-tp3142574p3144190.html
>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>> _______________________________________________
>> rules-users mailing list
>> [email protected]
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to