Thanks for the reply.
I have another query about Timer intermediate catch event. We need to send a mail 2 days prior to end date (so date-2). Is it possible to do it with this event.
I set Time date as ${end_date - 2}, but it fails with below exception
Caused by: org.activiti.engine.impl.javax.el.ELException: Cannot coerce '2016-02-14' to class java.lang.Long
at org.activiti.engine.impl.juel.TypeConverterImpl.coerceToLong(TypeConverterImpl.java:176) [activiti-engine-5.19.0.jar:5.19.0]
It seems that it always consider left operand to be long for substraction.
Is there any other way to handle this scenario? Also, if I update the end_date in between, will this catching event will wait for new date or it will still consider old date?