O'Reilly logo

Mastering jBPM6 by Arun V Gopalakrishnan, Simone Fiorini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Audit and history logs

Auditing is the ability of the engine to let the user configure the collection and the retrieval of events relative to the runtime process execution. We introduced auditing and BAM in Chapter 4, Operation Management, and now, we are going to see how to leverage the engine services to implement auditing at various levels.

When persistence is enabled, ready-to-use preconfigured AuditService (implemented by JPAAuditLogService) can be borrowed from RuntimeEngine; it returns process, node, and variable runtime audit data (see the class diagram) from the three standard jBPM auditing database tables (ProcessInstanceLog, NodeInstanceLog, and VariableInstanceLog). The audit service stamps each log entry with an OwnerID attribute, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required