How to use Drools rules in jBPM Processes

This tutorial discusses how to run Drool Rules from within a jBPM process, and how to handle the interactions between Process and Rules. (Updated to November 2021 ) Getting started with Drools WorkFlow Firstly, let’s start with some definitions for Processes and Rules: Business processes: Represent what the business does. Business rules: Represent decisions that … 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

Configuring jBPM to use MySQL as Database

This tutorial discusses how to configure jBPM to use MySQL as database to store process data. jBPM out of the box uses H2 database to store the state of processes using a file located under $JBOSS_HOME/standalone/data/jbpm-db. In order to switch to another database, you can use any of the following scripts which are available in … Read more

How to use a REST WorkItem Handler in jBPM

In jBPM, a Work Item Handler is a Java class that implements the org.kie.runtime.instance.WorkItemHandler interface and can be used to execute some tasks during a Process. jBPM provides some built-in WorkItemHandlers. In this tutorial we will learn how to use one of the most common ones, the REST WorkItem Handler. We will use as starting … Read more

Developing a jBPM 7 Web application example

In this updated tutorial we will learn how to create a Web application using jBPM 7. To build your first business application simply go to http://start.jbpm.org and generate the skeleton projects for your Web application. Once you have downloaded the application, unzip the downloaded archive and go into unzipped directory. You will see the following assets: … 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 3https://www.mastertheboss.com/jboss-jbpm/jbpm/accessing-hibernate-session-in-jbpm-3 JBPM 3 web application examplehttps://www.mastertheboss.com/jboss-jbpm/jbpm/jbpm-3-web-application-example jBPM handlers code exampleshttps://www.mastertheboss.com/jboss-jbpm/jbpm/jbpm-handlers-code-examples Configure jBPM to send mailhttps://www.mastertheboss.com/jboss-jbpm/jbpm/configure-jbpm-to-send-mail How to start the JBPM Web editor ?https://www.mastertheboss.com/jboss-jbpm/jbpm/how-to-start-the-jbpm-web-editor Monitor your processes in Jbpm consolehttps://www.mastertheboss.com/jboss-jbpm/jbpm/monitor-your-processes-in-jbpm-console Restful … Read more

Design jBPM Processes with Eclipse designer plugin

This updated tutorial will teach you how to design a jBPM process with Eclipse designer plugin, make a KJAR out of it and deploy in on jBPM. First off, you need to take the download link of Eclipse’s plugin for jBPM from https://www.jbpm.org/download/download.html As you can see from the Download page, the jBPM team stopped … Read more

jBPM REST API made simple

This tutorial will discuss how to use jBPM REST API to manage your Process Server with any tool able to execute simple HTTP requests such as curl. By using jBPM REST API you can perform the following actions: Create, update, or delete Process Server instances Retrieve information about Process instances, and associated KIE containers Start, … Read more