Does anyone know how can I programmatically reset a Boundary
Timer Time Cicle and/or Time Duration from a Java TaskListener using Activiti 5.22.0?
Does anyone know how can I programmatically reset a Boundary
Timer Time Cicle and/or Time Duration from a Java TaskListener using Activiti 5.22.0?
Can you please try this?
processInstanceId => process Instance ID
jobs = processEngine.getManagementService().createTimerJobQuery().processInstanceId(processInstanceId).list();
TimerJobEntity tJobEntity = (TimerJobEntity) job;
tJobEntity.setDuedate(date);
where date is new date that we want to set.