kanetran opened a new issue, #1645:
URL: https://github.com/apache/incubator-kie-issues/issues/1645
Description:
I have defined a rule as follows in DMN 1.2 (with
quay.io/kie-tools/kie-sandbox-image:0.32.0):
`rule "No black Friday discount after 12.12.2022"
salience 1000
when
$pp: ProductPricing(promotionCode == "BLACK1")
not $sp: SubscriptionPricingModel(subscriptionFrom <
'12-Dec-2022', productCode == $pp.productCode)
then
$pp.setPromotionCode("");
update($pp);
end`
When I tried using `apache/incubator-kie-sandbox-webapp:main`, it didn’t
work as expected.

I would like to ask:
1. Does apache/incubator-kie-sandbox-webapp:main use DMN 1.5?
2. Starting from versions after DMN 1.2, Decision Table (DT) analysis static
became available. Is this the reason for the above error?
3. I read in some places that the ? symbol or dynamic comparisons no longer
work well in versions >= DMN 1.3. So, is it correct to set a static column like
subscriptionFrom < '12-Dec-2022' and evaluate it as true/false? If yes, is
there any way for me to handle this? Because in my rule file, I have many
comparisons of this type (subscriptionFrom < '12-Dec-2022' and productCode ==
$pp.productCode). If I do this, it will result in a lot of additional columns.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]