org.camunda.bpm.dmn.engine.DmnEngineException: Unsupported type: 'java.time.LocalDate' cannot be converted to 'java.util.Date'

Hi @Carolina_Barbiero :wave:

DMN/FEEL supports different date-time values. For example,

  • date (i.e. LocalDate)
  • time with/without timezone
  • date-time with/without timezone

The easiest way to deal with date variables (i.e. LocalDate) is to store them as ISO 8601 string. In the DMN decision, you can use the function date() to transform the string into a date value.

Note that the type date in the decision input column references to java.util.Date. In FEEL, a java.util.Date is transformed to a date-time value without timezone.

Read more about comparing a date-time value in the related thread: How to compare date with current date and time in DMN? - #4 by Philipp_Ossler?

Does this help you?

Best regards,
Philipp