[rules-users] logicalInsert and construction of an inferred fact.

Wolfgang Laun wolfgang.laun at gmail.com
Tue Mar 13 12:12:14 EDT 2012


On 13 March 2012 16:57, devan.vanreenen at gmail.com <devan.vanreenen at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120313/3179caf2/attachment.html 


More information about the rules-users mailing list