bpm-crafters / process-engine-api

Beautiful implementation-agnostic process engine API.
https://bpm-crafters.github.io/process-engine-api/stable/
Apache License 2.0
13 stars 1 forks source link
api process-engine

Process Engine API

incubating Development branches Maven Central

Purpose of the library

This library provides a modern engine-agnostic API which can be used to implement process applications. By providing a set of adapters to relevant process engines (Camunda Platform 7, Camunda Platform 8, etc...) the library enforces separation of the integration of process engine from the selection of the used engine. This approach fosters an easy migration between engines and tries to achieve to support migrations with minimal (or even no) code modifications.

Anatomy

The library contains of the following Maven modules:

API

The API consists of different parts independent of each other.

The Task API provides functionality to deal with service tasks. The task handlers can be registered and get invoked when tasks appear in the process engine. Since the Task API allows asynchronous processing, we provide a special API to complete tasks.

Usage

If you want to try the library with Camunda 7, please add the following dependency to your Maven pom.xml.

<dependency>
  <groupId>dev.bpm-crafters.process-engine-api</groupId>
  <artifactId>process-engine-api-adapter-camunda-platform-c7-embedded-spring-boot-starter</artifactId>
</dependency>

or

<dependency>
  <groupId>dev.bpm-crafters.process-engine-api</groupId>
  <artifactId>process-engine-api-adapter-camunda-platform-c7-remote-spring-boot-starter</artifactId>
</dependency>

If you want to try the library with Camunda 8, please add the following dependency to your Maven pom.xml.

<dependency>
  <groupId>dev.bpm-crafters.process-engine-api</groupId>
  <artifactId>process-engine-api-adapter-camunda-platform-c8-spring-boot-starter</artifactId>
</dependency>