<div dir="ltr">I&#39;m on 5.5.0.Final, its the same principles of cloudcomputer, that is working, but without the getMultiplicand on comparator, it will assign workorder requiredWorktime to an engineer worktime that is usually 8h, in thesis i guess it would be simpler :D, i&#39;m even using the cloudcomputer drl file replacing variables. But i&#39;ll try remake the project to verify any loose object and to check if I missed something.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/29 Davide Sottara <span dir="ltr">&lt;<a href="mailto:dsotty@gmail.com" target="_blank">dsotty@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Which version are you using? A bug was found recently affecting the<br>
evaluation of this type of constraints:<br>
<br>
Number( intValue &lt; $worktime )<br>
<br>
You will have to update to 5.5.1-SNAPSHOT, wait a few days for 5.6 or try<br>
this workaround (untested):<br>
<br>
Number( intValue() &lt; $worktime.intValue() )<br>
<br>
Davide<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Drools-rule-Planner-tp4021933p4021935.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-Drools-rule-Planner-tp4021933p4021935.html</a><br>

Sent from the Drools: User forum 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>
</blockquote></div><br></div>