How to configure logging in jBPM applications?

jBPM is a flexible Business Process Management (BPM) platform that is written in Java. It provides a number of features for creating and executing business processes, including the ability to log information during the execution of a process.

Read more

JBPM best practices

In this updated tutorial we will cover some of the best practices when designing or coding process with jBPM. Include multiple end events A process, by design, requires at least a Start Task and an End Task. In most cases, however, it is not advised to include a single end state where all process branches … Read more

Configure jBPM to send mail

This is an updated tutorial which discusses how to send a Mail from within a jBPM Process.
If you are running jBPM 6 / 7, the simplest way to send a Mail from your BPM process is to use the org.jbpm.process.workitem.email.EmailWorkItemHandler..

Read more

jBPM 3-4-5 index page

This is the list of tutorials available on this site for jBPM v. 3,4 and 5 jBPM 3 and 4 Accessing Hibernate Session in JBPM 3http://www.mastertheboss.com/jboss-jbpm/jbpm/accessing-hibernate-session-in-jbpm-3 JBPM 3 web application examplehttp://www.mastertheboss.com/jboss-jbpm/jbpm/jbpm-3-web-application-example jBPM handlers code exampleshttp://www.mastertheboss.com/jboss-jbpm/jbpm/jbpm-handlers-code-examples Configure jBPM to send mailhttp://www.mastertheboss.com/jboss-jbpm/jbpm/configure-jbpm-to-send-mail How to start the JBPM Web editor ?http://www.mastertheboss.com/jboss-jbpm/jbpm/how-to-start-the-jbpm-web-editor Monitor your processes in Jbpm consolehttp://www.mastertheboss.com/jboss-jbpm/jbpm/monitor-your-processes-in-jbpm-console Restful … Read more

How do I fire an action every time a JBPM Node enters?

The simplest way to fire an action when a node is reached is to code the Node as Service Task. Each ServiceTask includes On-entry and on-exit actions which are executed upon entry or exit of this node, respectively. A common use for an On-entry action is to set variables when we enter the node kcontext.setVariable(“myvar”,”foo”); If … Read more

How to delete/persist your JBPM process after restart ?

jBPM persists the state of process in a Database (the default H2 emebedded database or an external Database). Therefore, in order to delete your jBPM process each time you start the jBPM Runtime you have to configure the hibernate property “hbm2ddl.auto” in your persistence.xml. Possible values are: validate: validate the schema, makes no changes to … Read more

How to inject variables into a JBPM Action handler ?

This tutorial has been written for an old version of jBPM which is now deprecated. The current version of jBPM does not include Action Handlers but you can define WorkItem handlers to run Java code in your process. The following tutorial covers this topic: How to create a custom WorkItem Handler in jBPM You can … Read more

Accessing Hibernate Session in JBPM 3

This tutorial has been written for an old version of jBPM which is now deprecated. If you want to get started quickly with jBPM, we recommend the following quickstarts: jBPM 7 tutorial: getting started with the opensource BPM Developing a jBPM 7 Web application example Design jBPM Processes with Eclipse designer plugin Getting started with … Read more

jBPM handlers code examples

This tutorial has been written for an old version of jBPM which is now deprecated. If you want to get started quickly with jBPM, we recommend the following quickstarts: jBPM 7 tutorial: getting started with the opensource BPM Developing a jBPM 7 Web application example Design jBPM Processes with Eclipse designer plugin Getting started with … Read more

How to start the JBPM Web editor ?

This tutorial has been written for an old version of jBPM which is now deprecated. If you want to get started quickly with jBPM, we recommend the following quickstarts: jBPM 7 tutorial: getting started with the opensource BPM Developing a jBPM 7 Web application example Design jBPM Processes with Eclipse designer plugin Getting started with … Read more