There is a bug in ruleflow where if the .rfm is created after the .rf
the .rfm no longer gets updated. The simple answer is to close the .rf
and re-open it, everything should be fine after that. This is fixed in
trunk and will go into the 4.0.1 release next week.
Mark
hypnosat7 wrote:
Hi,
I draw a rule flow with only 2 ruleFlowGroup, I set the process id in the
properties view but when I tried to check my rule flow I had this : ruleFlow
process has no id
this is my ruleFlowTest.rf file :
<org.drools.ruleflow.core.impl.RuleFlowProcessImpl id="1">
<nodes id="2">
<entry>
<long>2</long>
<org.drools.ruleflow.core.impl.RuleSetNodeImpl id="3">
<ruleFlowGroup>ruleSet1</ruleFlowGroup>
<id>2</id>
<name>RuleSet1</name>
<incomingConnections id="4">
<org.drools.ruleflow.core.impl.ConnectionImpl id="5">
<type>1</type>
<from class="org.drools.ruleflow.core.impl.StartNodeImpl"
id="6">
<id>1</id>
<name>Start</name>
<incomingConnections id="7"/>
<outgoingConnections id="8">
<org.drools.ruleflow.core.impl.ConnectionImpl
reference="5"/>
</outgoingConnections>
</from>
<to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl"
reference="3"/>
</org.drools.ruleflow.core.impl.ConnectionImpl>
</incomingConnections>
<outgoingConnections id="9">
<org.drools.ruleflow.core.impl.ConnectionImpl id="10">
<type>1</type>
<from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl"
reference="3"/>
<to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl"
id="11">
<ruleFlowGroup>ruleSet2</ruleFlowGroup>
<id>3</id>
<name>RuleSet2</name>
<incomingConnections id="12">
<org.drools.ruleflow.core.impl.ConnectionImpl
reference="10"/>
</incomingConnections>
<outgoingConnections id="13">
<org.drools.ruleflow.core.impl.ConnectionImpl id="14">
<type>1</type>
<from
class="org.drools.ruleflow.core.impl.RuleSetNodeImpl"
reference="11"/>
<to class="org.drools.ruleflow.core.impl.EndNodeImpl"
id="15">
<id>5</id>
<name>End</name>
<incomingConnections id="16">
<org.drools.ruleflow.core.impl.ConnectionImpl
reference="14"/>
</incomingConnections>
<outgoingConnections id="17"/>
</to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
</outgoingConnections>
</to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
</outgoingConnections>
</org.drools.ruleflow.core.impl.RuleSetNodeImpl>
</entry>
<entry>
<long>1</long>
<org.drools.ruleflow.core.impl.StartNodeImpl reference="6"/>
</entry>
<entry>
<long>3</long>
<org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="11"/>
</entry>
<entry>
<long>5</long>
<org.drools.ruleflow.core.impl.EndNodeImpl reference="15"/>
</entry>
</nodes>
<variables id="18"/>
<lastNodeId>5</lastNodeId>
<name>ruleFlowTest</name>
<type>RuleFlow</type>
</org.drools.ruleflow.core.impl.RuleFlowProcessImpl>