Skip to Main Content
jBPM6 Developer Guide - Third Edition
book

jBPM6 Developer Guide - Third Edition

by Mauricio Salatino
August 2014
Intermediate to advanced content levelIntermediate to advanced
310 pages
7h 59m
English
Packt Publishing
Content preview from jBPM6 Developer Guide - Third Edition

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Resource-Oriented Architecture

Resource-Oriented Architecture

Heather Scherer
Mastering jBPM 5

Mastering jBPM 5

Simone Fiorini, Arun V Gopalakrishnan

Publisher Resources

ISBN: 9781783286614Supplemental Content