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
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()
-WOn 6 July 2011 12:21, _bart <dgrundler@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users