Skip to Content

how to make a date range promotion condition?

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 07 at 05:07 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.