O'Reilly logo

jBPM6 Developer Guide by Esteban Aliverti, Mauricio Salatino, Mariano Nicolas De Maio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Node instance structures

jBPM6 uses a node-instance-based approach to determine what steps are being executed by the process instance. This means, for every active step in the process, a node instance object exists in the process instance. When the step is completed, the node instance is removed. This allows us to have a list of active steps in the process instance that are accessible by jBPM6 from the getNodeInstances method available from the NodeInstanceContainer interface. The following code shows a simplification of the methods of most of the node instance implementations:

public interface NodeInstance { public ProcessInstance getProcessInstance() { ... } public long getId() { ... } public long getNodeId() { ... } public void trigger(NodeInstance ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required