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?

  • 2
    This question can be improved by adding concrete examples of what you have tried or providing more context. – hola Jan 21 '20 at 21:00

1 Answers1

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.
Developer
  • 150
  • 2
  • 12