Cristiano,
The errors do seem to indicate that the collection expression and variable
name are empty. This in combination with your layout problem seems to
indicate to me that there is an issue when trying to save or load the
underlying XML. Could you open a JIRA and attach the ruleflow file you are
using and some instructions on how to reproduce this? You can also send it
to me personally if you want to keep it private.µ
Kris
----- Original Message -----
From: "Cristiano Gavião" <cvgaviao(a)gmail.com>
To: "Rules Users List" <rules-users(a)lists.jboss.org>
Sent: Monday, January 26, 2009 11:30 AM
Subject: [rules-users] How to setup Foreach node?
Hi, I would like to know how can I setup a ForEach composite.
I setup two variables on accountProcess.rf properties (main flow
diagram). One is the Account class, and other is a
java.util.Collection<Account>.
I fill the variable and collection expression on the ForEach node with
those variables. But Im still getting these errors:
ForEach node 'Every Account' [8] has no collection expression.
ForEach node 'Every Account' [8] has no variable name.
Im missing something or I did something wrong?
ah, I almost forget.... When I have a ForEach node on a flows diagram,
the layout isn't saved. I mean, if I close the diagram and open It again,
the ForEach node will be on a different place.
thanks in advance
_________________________
Cristiano V. Gavião
"Tudo vale a pena se a alma não é pequena..." Fernando Pessoa
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users