Thx for the response. But when i use the update(no dynamic facts), the rule
keeps repeating himself for the same webservice object. I use no-loop but
that doesnt help.
rule "..."
ruleflow-group "invoke"
no-loop true
salience 10
when
$web : WebService ( )
then
Invoke inv = new invoke();
$web.setInvoke(inv);
insert(inv);
end
AllenABQ wrote:
Are these dynamic facts you're working with? If they aren't (and at least
your new Invoke object is not), then try:
then
Invoke inv = new invoke();
$web.setInvoke(inv);
insert(inv);
update($web);
end
--
View this message in context:
http://www.nabble.com/Nullpointer-inserting-fact.-tp17100525p17189814.html
Sent from the drools - user mailing list archive at
Nabble.com.