[jboss-user] [jBPM] - Re: Drools Simple rule evaluation
Mauricio Salatino
do-not-reply at jboss.com
Tue Mar 27 16:03:22 EDT 2012
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120327/2c53c117/attachment-0001.html
More information about the jboss-user
mailing list