DMN processing for datetime format

Hi

I have created a simple dmn with dateTime format


I’m passing the zeebe with the below json

{
“a”:“b”,
“b”:0,
“d”:“2023-12-28T00:00:00Z”
}

On the camunda operate i have an incident on the decision , expecting to hit the row 2 with output as OFF

could any one point me how should i pass the date time format(Data types | Camunda 8 Docs) in the JSON to process.

Did you try an input expression similar to below one.

input_expression

This worked thanks, but where do i find this documentation for adding the functions on the expression for date and time(d) . Previously i had just provided as d in my expression field.

Usually using variable name is enough but in your case the variable is passed as string that is why you need to convert it to datetime so comparison can be evaluated.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.