Hello guys,
I am trying to compare a give date (via DMN in FEEL expression) with current date weather it is between -9999 to 5 days if the date is in past it will return me negative value
but it is not able to parse the date => Failed to parse duration from β2023-11-20β
I might be doing something wrong in this, can anyone please help me?
Hello @hassang here is what I got
(date(transaction.noc_date)- today()).days < 5
org.camunda.bpm.dmn.feel.impl.FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to evaluate expression β(date(transaction.noc_date)- today()).days < 5β: ValError(No property found with name βdaysβ of value βValNullβ. Available properties: ) is not comparable