DMN Rest api

Hi,

I have used Date datatype in DMN and deployed it successfully.

But when I am try to evaluate using Rest Api I am getting mismatch exception.
Rest API Payload :
{
“variables” : {
“info” : { “value” : “2020-04-29T00:00:00”, “type” : “Date” }
}
}

Exception:
{
“type”: “InvalidRequestException”,
“message”: “Cannot convert value ‘2020-04-29T00:00:00’ of type ‘Date’ to java type java.util.Date”
}

1 Like

Hi @manish_kumar,

your Date is missing the milliseconds and the timezone: https://docs.camunda.org/manual/7.12/reference/rest/overview/date-format/.

Hope this helps, Ingo

Thanks for your reply, works for me.

1 Like