cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to make a date range promotion condition?

felipe_lima08
Explorer
0 Likes
403

when creating a RuleConditionTranslator using passing the date as an attribute and withOperator (RuleIrAttributeOperator.LESS_THAN)

i have a exception: de.hybris.platform.droolsruleengineservices.compiler.DroolsRuleValueFormatterException: Cannot find the value formatter for an object of type: java.util.Date

is it possible to create this type of promotion condition?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member633554
Active Participant
0 Likes

Promotions by default have a date range. You don't need it in the condition.