How to add days to a date variable in a service task

@solo812 try expression like this below:

${dateTime().withMillis(dueDateField.getTime()).plusDays(10).toDate()}

Deploy this bpmn and test: DateCalculationProcess.bpmn (2.9 KB)