Karolis Petrauskas

Co-founder at Erisata

Karolis is a Chief IT Architect and co-owner at Erisata LTD., a company based in Lithuania, focusing on Erlang/OTP solutions. Here he designed a number of Erlang/OTP based systems for telecommunication and electricity companies, many of which involved management of long-running business processes. Experience in building such systems allowed him to extract key features for the business process management platform to have it effective while being non-invasive.

He is also an associate professor at the Vilnius University, giving lectures on software engineering. His scientific interest is in the domain of formal modelling and verification of software systems. This experience led him to successfully apply these methods (like specification in TLA+ language) in real business problems.

Past Activities

Karolis Petrauskas
Code BEAM STO 2019
16 May 2019
12.25 - 12.50

Implementing long running business processes

Erlang/OTP provides a great infrastructure for implementing business processes. Although several additional features are needed in typical BPM application, like persistence, audit, migration of processes in a cluster.

In this talk we present a framework for implementing long running FSM based processes as well as several design patterns that rendered useful in practice. The main features the framework provides are the defined semantics for structured states, scoped timers, persistence, audit and clustering.


To present our experience in building long running persistent processes based on finite state machines, useful patterns and techniques.


Engineers working in the domain of business process automation.