Download - All IT eBooks

Transcript
Operation Management
The TASKEVENT and AUDITTAASKIMPL tables are managed by org.jbpm.services.
task.audit.JPATaskLifeCycleEventListener, a task life cycle listener created
and attached to the TaskService instance during runtime when JPA EntityManager
is set.
The TASKEVENT table logs the task event transitions:
STARTED, ACTIVATED, COMPLETED, STOPPED, EXITED, FAILED, ADDED,
CLAIMED, SKIPPED, SUSPENDED, CREATED,FORWARDED, RELEASED, RESUMED,
DELEGATED, NOMINATED
Each row contains the key to the parent task (the TASKID column); you can take
a look at an example full table dump file (taskevent_dump.txt) placed in the
pizzadelivery Eclipse project. In the following paragraph, we will cover the BAM
dashboard and build a customization example by using our PizzaDelivery business
process audit data.
BAM and Dashbuilder – the pizza maker's
performance index
jBPM 6 is shipped with a jBPM pre-configured web application built with Dashbuilder.
Dashbuilder is the Red Hat open source platform for building
business dashboards and reports; at the time of writing this book,
the latest dashboard release is 6.2.0; please refer to the following
product home site:
http://www.dashbuilder.org.
The process and task dashboard is in no way a production-ready BAM platform but
helps the jBPM system stakeholders (as well as the jBPM administrators) to get a
consistent preview of the underlying auditing default data at nearly no cost.
Please check Chapter 16 of the jBPM 6.2 user guide for an
introduction to the jBPM dashboard.
To illustrate a hands-on sample case, we will now generate some audit data and
add a new chart (backed by a new data provider) on our jBPM dashboard; the
chart will display the performance index of all the process actors with respect to
the assigned tasks.
[ 116 ]