Eclipse validating cancel requested
In this first tutorial we’re going to build a simple example that shows you how to create a Flowable process engine, introduces some core concepts and shows how to work with the API. We’ll use Maven to fetch the Flowable dependencies and manage the build, but likewise any alternative also works (Gradle, Ivy, etc.).
is created using a configuration XML file, but (as we do here) you can also create it programmatically.
This time, the Flowable REST API is used instead of the Java API.
In the example here, when the first user task is completed, one database transaction will be used to go from the user task through the exclusive gateway (the automatic logic) until the second user task. In a more realistic application, there will be a user interface where the employees and the managers can log in and see their task lists.
In such task list, they can inspect the process instance data which is stored as There is a last piece of the puzzle still missing: we haven’t implemented the automatic logic that will get executed when the request is approved.
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.