Human Tasks

While being conceptually very close, Magnolia’s and jBPM’s Human Task implementation differ from each other. jBPM provides a org.kie.api.task.TaskService interface for creating and managing Tasks created by a Human Task WorkItemHandler. This Task Service is registered to the RuntimeEngine and obtained from it when needed.

The whole lifecycle of Tasks created by the Task Service is totally independent of the lifecycle of the workflow process itself, which allowed Magnolia to break out of jBPM’s world at this stage. So, instead of implementing the TaskService interface and register it to the RuntimeEngine, Magnolia uses Magnolia’s own TasksManager to steer the lifecycle of its Tasks. This is done by injecting the TasksManager where needed. As a consequence of this you cannot obtain any TaskService instance from the RuntimeEngine, it will return null.

Please compare the following UML diagrams for the differences in its details:

Magnolia’s Human Tasks implementation

Magnolia usertasks

jBPM’s Human Tasks implementation

JPA usertasks


DX Core



This widget lets you know where you are on the docs site.

You are currently perusing through the DX Core docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules
6.3 beta

Magnolia 6.3 beta

Magnolia 6.3 is in beta. We are updating docs based on development and feedback. Consider the 6.3 docs currently in a state of progress and not final.

We are working on some 6.3-beta known issues during this phase.