Caterpillar: A business process execution engine on the Ethereum blockchain

Orlenys López‐Pintado, Luciano García‐Bañuelos, Marlon Dumas, Ingo Weber, Alex Ponomarev

Software Practice and Experience · 2019 · 19 citations · 7 references

DOIFull text

Open access

Concepts

TL;DR

Blockchain platforms such as Ethereum enable decentralized ledgers and smart contracts, yet building business processes with their low‑level primitives is cumbersome, whereas traditional BPMS provide higher‑level BPMN abstractions for rapid development. The article demonstrates how to combine the advantages of a BPMS with those of a blockchain platform. Caterpillar is a BPMN execution engine that stores process instance state on the Ethereum blockchain and routes workflow via smart contracts generated by a BPMN‑to‑Solidity compiler, supporting a wide range of BPMN constructs and providing interfaces for monitoring, work allocation, and service task execution.

Abstract

Summary Blockchain platforms, such as Ethereum, allow a set of actors to maintain a ledger of transactions without relying on a central authority and to deploy programs, called smart contracts, that are executed whenever certain transactions occur. These features can be used as basic building blocks for executing collaborative business processes between mutually untrusting parties. However, implementing business processes using the low‐level primitives provided by blockchain platforms is cumbersome and error‐prone. In contrast, established business process management systems (BPMSs), such as those based on the standard Business Process Model and Notation (BPMN), provide convenient abstractions for rapid development of process‐oriented applications. This article demonstrates how to combine the advantages of a BPMS with those of a blockchain platform. The article introduces a blockchain‐based BPMN execution engine, named Caterpillar. Like any BPMN execution engine, Caterpillar supports the creation of instances of a process model and allows users to monitor the state of process instances and to execute tasks thereof. The specificity of Caterpillar is that the state of each process instance is maintained on the (Ethereum) blockchain and the workflow routing is performed by smart contracts generated by a BPMN‐to‐Solidity compiler. The Caterpillar compiler supports a large array of BPMN constructs, including subprocesses, multiple‐instance activities, and event handlers. The paper describes the architecture of Caterpillar and the interfaces it provides to support the monitoring of process instances, the allocation and execution of work items, and the execution of service tasks.

References

7