Hudson builds our code base on each commit, so you can get the latest examples documentation build from trunk here:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/html/ch10.html


All things Artificial Intelligence related: Rules, Processes, Events, Agents, Planning, Ontologies and more :)
Drools Examples Documentation Gets Beefed Up
Thanks Mark, this is very useful. I will star learning just now.
ReplyDeleteMark,
ReplyDeleteeach time looking at the doc it becomes better and better - thanks for the great work.
(think you spent much time on this)
now there are examples using RuleFlows :-)
small wish for future releases: examples using SubRuleFlows and Milestones.
regards
ekke
Hi Mark, I'm new to Rules Engine. I need to start with an example on drools. I have checked with your link which is provided on blog. If I try to open this link https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/html/ch10.html
ReplyDeletegetting the status error 404. Could you please send me the example link with sub rules flow.
Regards
Sarath
That blog link for was for when we were working on drools 4.0.2 - which is why that hudson CI build link is now outdated. All that works is now rolled into the main distribution examples, which is now at 4.0.7:
ReplyDeletehttp://www.jboss.org/drools/documentation.html
Hi Mark Thanks for you valuble information. I need small clarification, which link I need to check for examples in http://www.jboss.org/drools/documentation.html that page. I'm also looking 4.0.7 version.
ReplyDeleteShall I click the "Live Trails" for examples? Please provide the information where exactly availabel examples?
Regards
Sarath
Try reading the user guide documentation, before you pester people. Maybe, just maybe, the examples and walk throughs are there.
ReplyDeleteHi Mark
ReplyDeleteCould you please help on this message
line 62:0 mismatched character 'EOF' expecting '''
org.drools.compiler.DroolsParserException: Unknown error while parsing. This is a bug. Please contact the Development team."
I'm getting the error to this location here and
builder.addPackageFromDrl(new InputStreamReader(RServlet.class.getResourceAsStream("/credit.drl")));
here
ruleBase.addPackagebuilder.getPackage());
Below is my code snippet.
PackageBuilder builder = new PackageBuilder();
try {
builder.addPackageFromDrl(new InputStreamReader(RServlet.class.getResourceAsStream("/credit.drl")));
} catch (DroolsParserException e1) {
e1.printStackTrace();
}
RuleBase ruleBase= RuleBaseFactory.newRuleBase();
try {
ruleBase.addPackage(builder.getPackage());
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
StatefulSession workingMemory = ruleBase.newStatefulSession();
Could you plese help me on this issue
Regards
Sarath
This is not the right place for those sorts of questions, it is not relevant in anyway to the topic of the blog posting - this is not a help forum.
ReplyDeletePlease subscribe to the USER mailing list and ask your questions there:
http://www.jboss.org/drools/lists.html
Hi Mark
ReplyDeleteThanks for your valid information
regards
sarath