Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • jBPM6 Developer Guide
  • Toc
  • feedback
jBPM6 Developer Guide

jBPM6 Developer Guide

By : Salatino
2 (4)
close
jBPM6 Developer Guide

jBPM6 Developer Guide

2 (4)
By: Salatino

Overview of this book

If you are a Java developer or architect who needs to have a better understanding of how Business Process Management frameworks behave in real-life implementations, this book is for you. This book assumes that you know the Java language well and are familiar with some widely used frameworks such as Hibernate. You should also know the basics of relational databases and Maven-based applications.
Table of Contents (13 chapters)
close
12
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...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete