I want to insert multiple facts sourced by a 'from' clause to a service
method.
For Ex:
when
...
then
insert( mycustomobject() from globalService.getCustomObjects())
getCustomObjects() method will return several instances of custom objects
based on a sql query and i want to insert them into the knowledge session.
I'll be using these custom objects in other subsequent rules.
Is it possible to do something like this ?
Thanks
--
View this message in context:
http://drools.46999.n3.nabble.com/inserting-multiple-facts-in-RHS-tp34590...
Sent from the Drools: User forum mailing list archive at
Nabble.com.