Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
jBPM6 Developer Guide

You're reading from   jBPM6 Developer Guide Learn about the components, tooling, and integration points that are part of the JBoss Business Process Management (BPM) framework

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher Packt
ISBN-13 9781783286614
Length 310 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (13) Chapters Close

Preface 1. Why Do We Need Business Process Management? FREE CHAPTER 2. BPM Systems' Structure 3. Using BPMN 2.0 to Model Business Scenarios 4. Understanding the KIE Workbench 5. Creating a Process Project in the KIE Workbench 6. Human Interactions 7. Defining Your Environment with the Runtime Manager 8. Implementing Persistence and Transactions 9. Integration with Other Knowledge Definitions 10. Integrating KIE Workbench with External Systems A. The UberFire Framework Index

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 from, String type) { ... }
  public void cancel() { ... }
}

Here, you can see that node instance objects have methods to trigger the execution of a particular step or to cancel it from the outside. It also has an identifier for itself...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image