Sendback to already completed Task of processInstance in Activiti

StackOverflow https://stackoverflow.com/questions/18988596

  •  29-06-2022
  •  | 
  •  

سؤال

How can I send back to a task which is marked as complete in a process instance.I am trying to use activiti engine APIs to achieve that but could not find any directly.

I was expecting something like

processEngine.getTaskService().sendBack(task.getId());

Any help on this is appreciated.

هل كانت مفيدة؟

المحلول

By adding sequence flow to every other step with an exclusive gateway and a conditional expression sendback is achievable.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top