Re: [rules-users] forEach node Clarification

2010-06-04 Thread Darshan



Hi Rajakanthan,

I am trying similar kind of thing and need help. I need to call a set of
rules in loop by passing a object fro0 a collection to the rules. Here are
more details about What I am trying to do. Please help.

http://drools-java-rules-engine.46999.n3.nabble.com/Using-the-ForEach-component-in-RuleFlow-td870012.html#a870012

Here is the code 
http://drools-java-rules-engine.46999.n3.nabble.com/file/n870109/testForEach.zip
testForEach.zip 
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/forEach-node-Clarification-tp60090p870109.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


RE: [rules-users] forEach node Clarification

2009-06-23 Thread rajakanthan

guys..

Thanks for your co-operation. I have just found a solution for this. This
can be done finely using workitem. 


Anstis, Michael (M.) wrote:
> 
> Your jpg was not visible at the enclosed URL. 
> 
> -Original Message-
> From: rules-users-boun...@lists.jboss.org
> [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of rajakanthan
> Sent: 23 June 2009 02:24
> To: rules-users@lists.jboss.org
> Subject: [rules-users] forEach node Clarification
> 
> 
> Hey guys,
> I'm doing a POC using drools and drools flow.I have inserted a image
> here
> after modifying some of ruleflow groups. There are more ruleflow groups.
> The
> rules belong to each ruleset in a composite node is perfectly
> working.Ok.
> fine. the problem is, when it comes to 'child service', a list of
> ChildService Object will be returned by POJO(let me say, ). For each
> object,
> the rules belong to Service 1,2 and 3 has to executed before coming out
> of
> this composite node 'Level Child'. 
> 
> I dont have any clue on this. what i have to be given in
> CollectionExpression and variableName property in forEach node? How to
> work
> on this forEach?
> http://www.nabble.com/file/p24150374/ServiceForEach.jpg 
> 
> -- 
> View this message in context:
> http://www.nabble.com/forEach-node-Clarification-tp24150374p24150374.htm
> l
> Sent from the drools - user mailing list archive at Nabble.com.
> 
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/forEach-node-Clarification-tp24150374p24167529.html
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


RE: [rules-users] forEach node Clarification

2009-06-23 Thread Anstis, Michael (M.)
Your jpg was not visible at the enclosed URL. 

-Original Message-
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of rajakanthan
Sent: 23 June 2009 02:24
To: rules-users@lists.jboss.org
Subject: [rules-users] forEach node Clarification


Hey guys,
I'm doing a POC using drools and drools flow.I have inserted a image
here
after modifying some of ruleflow groups. There are more ruleflow groups.
The
rules belong to each ruleset in a composite node is perfectly
working.Ok.
fine. the problem is, when it comes to 'child service', a list of
ChildService Object will be returned by POJO(let me say, ). For each
object,
the rules belong to Service 1,2 and 3 has to executed before coming out
of
this composite node 'Level Child'. 

I dont have any clue on this. what i have to be given in
CollectionExpression and variableName property in forEach node? How to
work
on this forEach?
http://www.nabble.com/file/p24150374/ServiceForEach.jpg 

-- 
View this message in context:
http://www.nabble.com/forEach-node-Clarification-tp24150374p24150374.htm
l
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users