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

Creating your own runtime manager


The provided runtime manager implementations are enough to start working with jBPM6 without going into the details of how components are created. However, several organizations reach a point where they need to define specific sharing between processes in a simple way to allow special process instance collaborations through rules. One example of this would be writing monitoring rules that count how many process instances of a specific domain are being created within the last hour that are not yet finished, and take actions when that number reaches high values. This is something that can be easily written in the internal Drools Rule Language (DRL), as shown in the following DRL code:

rule "too many processes"
when 
    $n: Number(intValue > 1000) from accumulate(
        $p: WorkflowProcessInstance() over window:time(1h)
        eval($p.getVariable("domainXProcess") != null)
    )
then 
    externalService.sendWarning("Too many processes created in the last...
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