Compare two dates using Java Query API


I have a project that use Camunda through JAVA API and I need to compare two One of the value is stored as process variable, so I tried to use the task service to made a query but it doesn’t work.

I’m using v7.8

Thanks for your help

Hi @Salvo45 ,

${date1.before(now())} can be used in an expression after a gateway. See

Hope this helps, Ingo