DMN Decision-Engine: Incorrect Reading a Variable with Type Date from Process Context

Hey there,

please consider the following dmn attached: we have a process variable avaiable in the process context (let’s call this myWeirdDate ) with type “Date” and value “2024-06-21T00:00:00”. This variable is used for evaluation - whenever myWeirdDate is lower than “2024-06-21T00:00:00”, we want to return false . In this specific case, however, the dmn decision table returns true - as per Camunda Cockpit, this value is somehow transformed to “2024-06-20T22:00:00” when accessed by the dmn decision engine. Can anyone explain what’s wrong here?

Hint: we’re using Camunda 7 in Version 7.20.

With a 2 hour difference, my go-to for this would be timezone issues.
Try specifying the timezone in both myWeirdDate and the value being compared to.