[rules-users] Drools - Guvnor problem

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jul 6 06:35:41 EDT 2011


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 <wolfgang.laun at gmail.com> 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 <dgrundler at doubleslash.de> 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
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110706/c4d8719f/attachment.html 


More information about the rules-users mailing list