<p>What you describe is indeed peculiar.</p>
<p>Are you able to provide your 5.0 export? </p>
<p>Whilst the object model for guided decision tables did change for 5.2 the conversion simply copies data from the old model to the new on a one-to-one basis and the tests we have pass.</p>
<p>Thanks,</p>
<p>Mike</p>
<p>sent on the move</p>
<p>On 4 Feb 2012 16:37, &quot;jian zhi&quot; &lt;<a href="mailto:jianpzhi@yahoo.com">jianpzhi@yahoo.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">

<div>Hi all,</div>

<div> </div>

<div>I migrated the repository from <span>Drools</span> 5.0 to 5.3Final. The data was stored in Microsoft SQL Server database. I exported
the repository from Drools 5.0 Guvnor and imported it back to Drools 5.3 Guvnor. After that I found
that the order of the condition columns in the web-guided decision table were
changed, and also the values for the conditions were misplaced. See the rule sources
below. </div>

<div> </div>

<div>Is this a bug, or I didn’t use the right way to migrate the drools data between two versions?<br></div>

<div> </div>

<div>Thanks in advance,</div>

<div>Jian</div>

<div> <br>Here is the source of the decision table in Drools 5.0:<br></div>

<div>#from row number: 1</div>

<div>rule &quot;Row 1 test&quot;</div>

<div><span>                </span>dialect
&quot;mvel&quot;</div>

<div><span>                </span>when</div>

<div><span>                                </span>consumerAction
: ConsumerWorkActionFact( checkIfExist == &quot;true&quot; )</div>

<div><span>                                </span>accountAction
: ConsumerAccountWorkActionFact( checkIfExist == &quot;true&quot; )</div>

<div><span>                                </span>consumerTag
: ConsumerTagAssociationFact( hasAnyConsumerTagEM == &quot;111&quot; )</div>

<div><span>                                </span>consumerAccount
: ConsumerAccountAssociationFact( hasAnyAccountClosed == &quot;false&quot; )</div>

<div><span>                </span>then</div>

<div><span>                                </span>consumerAction.setChangeStrategy(
&quot;222&quot; );</div>

<div><span>                                </span>consumerAction.setHoldConsumer(
&quot;true&quot; );</div>

<div><span>                                </span>accountAction.setAssignConsumerAccountTags(
&quot;333&quot; );</div>

<div>end</div>

<div> </div>

<div>Here is the source of the decision table in Drools 5.3:</div>

<div>#from row number: 1 </div>

<div>2. | rule &quot;Row 1 test&quot; </div>

<div>3. |<span>     </span>dialect
&quot;mvel&quot; </div>

<div>4. |<span>     </span>when </div>

<div>5. |<span>        
</span>consumerAction : ConsumerWorkActionFact( checkIfExist ==
&quot;true&quot; ) </div>

<div>6. |<span>        
</span>consumerTag : ConsumerTagAssociationFact( hasAnyConsumerTagEM ==
&quot;false&quot; ) </div>

<div>7. |<span>        
</span>consumerAccount : ConsumerAccountAssociationFact( hasAnyAccountClosed ==
true ) </div>

<div>8. |<span>        
</span>accountAction : ConsumerAccountWorkActionFact( checkIfExist ==
&quot;111&quot; ) </div>

<div>9. |<span>     </span>then </div>

<div>10. |<span>        
</span>consumerAction.setChangeStrategy( &quot;222&quot; ); </div>

<div>11. |<span>        
</span>consumerAction.setHoldConsumer( &quot;true&quot; ); </div>

<div>12. | <span>        </span>accountAction.setAssignConsumerAccountTags(
&quot;333&quot; ); </div>

<div>13. | end<br><br><br><br></div>

</div></div></div>            </div></div><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>
<br></blockquote></p>