AnsweredAssumed Answered

Question on behavior of sub tasks and parent task

Question asked by rohail on Nov 11, 2014
Latest reply on Nov 20, 2014 by jbarrez
Hello,

I created a subtask to a task through code, then called task.complete on the parent task. This caused activiti engine to mark the parent task as complete and move on in the workflow. Is there any way to force that the parent task cannot be marked as complete until the subtasks are completed? I am trying to think of a scenario where if the owner of a task delegates couple of subtasks related to a parent task, what way is there to force them to wait until the subtasks are complete?

Outcomes