How to define sub task or child task

Hello,

Could you please some one can guide me, is there any way to define sub task or child task in BPMN flow. I have scenario like the task should have 3 sub task and the parent task should be able to complete once all the 3 subtask are completed.

Is there any way?. thanks in advance.

No, BPMN has no concept of a subtask. The Flowable TaskService api can add subtasks, but this can’t be modeled.

1 Like

Hi,

What about the Sub-Tasks section within the human-task ?
Can we use it to track sub-tasks?

Thanks,
Ajinkya

Or , another question on this , Can we give user the ability to create human tasks using Action button ?
I have a process-task in a case where I need the user should be able to create n number of tasks whenever needed.

The TaskService#createTask API can be used for both purposes, that uses a TaskBuilder which has the ‘parentTaskId’ parameter.