On 13 March 2012 16:57, devan.vanreenen@gmail.com <devan.vanreenen@gmail.com> wrote:
Hi there,

Kindly assist.
I am playing around with Inference and Truth maintenance

I have 2 questions.
1) When doing a logicalInsert() in the consequence of a rule - is this the
same as doing a insertLogical()? The reason I ask is that when creating rule
in Guvnor it doesnt recognize logicalInsert() but recognizes
insertLogical()?

There is no method called logicalInsert() in the stable API - where did you pick this up? Stick with insertLogical().

 

2) Is there a way for Guvnor to create the inferred fact (dynamically) or
must I create the inferred fact seperately and place in a jar and upload the
the POJO model jar to Guvnor before the inferred fact can be logically
inserted?

There's no way you could derive the fields for such a fact. Just declare it according to your needs.

-W

 

Any help would be much appreciated.
Thanks
Devan

--
View this message in context: http://drools.46999.n3.nabble.com/logicalInsert-and-construction-of-an-inferred-fact-tp3822594p3822594.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