Mauricio Salatino [https://community.jboss.org/people/salaboy21] created the 
discussion

"Re: Drools Simple rule evaluation"

To view the discussion, visit: https://community.jboss.org/message/726733#726733

--------------------------------------------------------------
I'm not sure what do you mean with this:
- are you sure that you are inserting the fact in the session?
normaly in artificial intelligence the fact are objects that we will apply 
rules on them i have inserted it using   ksession.insert(ticket);

but.. yes.. that's not for artifitial inteligence in general.. this behavior is 
related with rules engines only.

Some notes about your rule:
    $ticket:Ticket(status=="open"); -> please remove the semicolon you don't 
need it

Can you attach a KnowledgeRuntimeLoggerFactory.newConsoleLogger(ksession); -> 
to the session that was created with the kbase which contains the rules? 
and share the output?
Cheers
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/726733#726733]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to