I&#39;m trying to understand the problem.<br>Can you share an isolated test and the process file? i will be happy to test it and make it work..<br>Greetings.<br><br><div class="gmail_quote">On Thu, Feb 17, 2011 at 1:04 PM, rtmacphail <span dir="ltr">&lt;<a href="mailto:rtmacphail@gov.pe.ca">rtmacphail@gov.pe.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I am new to Drools and I am having the exact same problem. Have you found any<br>
resolution yet? How are you starting the ruleflow? I&#39;m creating a<br>
StartProcessCommand object and adding it to the BatchExecution Command. I am<br>
not sending a FireAllRules command as this seems to make the rules fire<br>
independently of the flow.<br>
<br>
Basically I do something like this:<br>
<br>
                //create an insertCommand object and insert the passed in fact model into<br>
it.<br>
                InsertObjectCommand insertCommand = (InsertObjectCommand)<br>
CommandFactory.newInsert(factModel);<br>
                insertCommand.setObject(factModel);<br>
                //set the out identifier. This is a string that will be used to identify<br>
                //this particular fact model in the execution result response.<br>
                insertCommand.setOutIdentifier(factHandle);<br>
                insertCommand.setEntryPoint(&quot;DEFAULT&quot;); //not sure what this does.<br>
                //tell the drools server to pass the fact model back to the client<br>
                //as part of the response<br>
                insertCommand.setReturnObject(true);<br>
<br>
                StartProcessCommand startProcessCommand = new StartProcessCommand();<br>
                startProcessCommand.setProcessId(processId);<br>
                commandList.add(startProcessCommand);<br>
                //add the command to the passed in array list<br>
                commandList.add(insertCommand);<br>
<br>
                BatchExecutionCommand batchCommand =<br>
CommandFactory.newBatchExecution(commandList,knowledgeSession);<br>
                //Use the BatchExecutionHelper class to convert the batch command to an<br>
XML stream to be sent to the<br>
                //drool-server&#39;s rest api.<br>
                String commandXML =<br>
BatchExecutionHelper.newXStreamMarshaller().toXML(batchCommand);<br>
<br>
Then I send the commandXML to the server using HttpClient. Is this similar<br>
to what you do?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/RuleFlow-only-calling-first-RuleFlowGroup-when-called-through-drools-server-tp2514244p2520132.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/RuleFlow-only-calling-first-RuleFlowGroup-when-called-through-drools-server-tp2514244p2520132.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a>  <br> - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
 - Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -<br>