I am using xls decision table and the following is what is produced as the source of the rules. The MOTORS_27 rule is not firing after the MOTORS_36 rule fires. My understanding is a re-fire should occur. However, if I reverse the order of the rules then MOTORS_36 fires and then MOTORS_27 fires which makes sense since it is after the modify. Why when MOTORS_27 is before MOTORS_36 is it not being re-fired?
rule "MOTORS_27"
when
prod : Product(sku != "1")
$txt1 : TextOption(sku == "motor_model")
eval($txt1.getValue() == "CM")
then
prod.setOptionEnabled( "bc", false, "Not available" );
end
rule "MOTORS_36"
no-loop true
when
prod : Product(sku != "1")
$opt1 : TextChoiceOption(sku == "motor_type")
exists (OptionValue(optionValueValue in ("P")) from $opt1.value)
$dimension: DimensionOption(sku == "dim", widthValue > "30.0", widthValue <= "36.0", heightValue <= "36.0")
$txt1 : TextOption(sku == "motor_model")
then
modify ($txt1) { setValue("CM")}
end