Eclipse validating cancel requested

Rated 4.34/5 based on 719 customer reviews

Since it’s a jar, you can add it easily to any Java environment: Java SE; servlet containers such as Tomcat or Jetty, Spring; Java EE servers like JBoss or Websphere, etc.

Alternatively, you can use the Flowable REST API to communicate over HTTP.

Flowable is a light-weight business process engine written in Java.

The Flowable process engine allows you to deploy BPMN 2.0 process definitions (an industry XML standard for defining processes), creating process instance of those process definitions, running queries, accessing active or historical process instances and related data, plus much more.

In the BPMN 2.0 xml this is a service task and it looked above like: In reality, this logic could be anything ranging from doing an HTTP REST call to some system, to doing some legacy code calls to a system the company has been using for decades.

We won’t implement the actual logic here, but have a simple logging statement inside.

Flowable runs on a JDK higher than or equal to version 7.

Common to all the ways of setting up Flowable is the core engine, which can be seen as a collection of services that expose APIs to manage and execute business processes.

Meaning: when the method call returns, a transaction will be started and committed. Once persisted, the data can be in the database for a long time, even years if it has to be, until an API call is executed that takes the process instance further.

Note that no computing nor memory resources are consumed when the process instance is in such a wait state, waiting for the next API call.

Other sections go into the various ways the Flowable engine can be set up and used, and describe in detail all the BPMN 2.0 constructs that are possible.

This section shows the same example as the previous section: deploying a process definition, starting a process instance, getting a task list and completing a task.

Leave a Reply