<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Calibri">Hi all,<br>
<br>
I&acute;m new in drools and after read documentation I have tried to do&nbsp; my
own project&nbsp; based in NumberGuess example. <br>
<br>
This project is a hangman game, but running it I have detected two
errors that I don&acute;t know how to solve.<br>
<br>
I enclose the project files if someone wants to try it&nbsp; and can help me
to
understand the malfunctions.<br>
<br>
Malfunctions:<br>
1-. I have a rule with no-loop activated into a RuleFlowGroup(in
project, Take a Decision).&nbsp; After rule execution , the flow continues<br>
&nbsp;but if you have introduced a bad option, the flow executes an
action(Sysout("Bad Character")) and then returns to the same
RuleFlowGroup, but at this time the rule doesn&acute;t execute. For this
reason the program enters into a infinite loop. I don&acute;t understand this
behaviour, taking into account that the rule executes again when
another RuleFlowGroup appears between "Take a Decision" RuleFlowGroups.<br>
<br>
2-. When you try to solve the word and you guess it, the flow continues
towards the Wrong way instead of towards the Well way. I have added
some code lines to see the solution after the first try of solving to
allow an easy way to test this.<br>
<br>
I know that probably all RuleFlowGroups in the flow are really not
necessary but they are my first steps with drools.<br>
<br>
Another thing that I want to ask is the way to use in a Action block
the objects that I have already in the working memory, using java.<br>
<br>
<br>
Thank you.<br>
<br>
Kevin.<br>
</font>
<br>
</body>
</html>