Business Process Management provides a workflow framework that helps BIs and middle level management to start creating business workflows that eventually get executed as a process.
Workflow platforms use many components and are generally open source. One such product is Activiti. Activiti is a light-weight workflow and Business Process Management (BPM) Platform targeted at business people, developers and system admins. Its core is a super-fast and rock-solid BPMN 2 process engine for Java. It’s open-source and distributed under the Apache license. Activiti runs in any Java application, on a server, on a cluster or in the cloud. One engaging use of Activiti is that is lowers the risk of potential failures and human interaction as compared to traditional ways.
Activiti is an Apache-licensed business process management (BPM) engine. Such an engine has a core goal to take a process definition comprised of human tasks and service calls and execute those in a certain order, while exposing various API’s to start, manage and query data about process instances for that definition. Activiti uses the BPMN 2.0 to make easier in the communication and understanding between Business Team and Developers is a added advantage in Activiti WorkFlow.
Activiti supports BPM2 (Business Process Management). BPM2 processes in Activiti are run in native Java. Activiti is a multi-component system with each component cut out for a particular role. They include:
1. Activiti Explorer:
Activiti Explorer is a web application using the Activiti API’s and showcasing the features of Activiti. Activiti contains a demo setup that will get this web app up and running in a matter of minutes. It usually runs in a Tomcat Server through deploying the Activiti war in the webapps folder on tomcat installation folder. Activiti explorer war is available from http://activiti.org/download.html. It consists of demo users and models and includes task management, process instance inspection, management features and viewing reports based on statistical history data.
2. Activiti Designer:
The Activiti Designer is an Eclipse plugin which allows you to create workflow/model BPMN 2.0 processes from within your IDE-environment. It also has built-in support for the Activiti-specific extensions to enable you to use the full potential of both the processes and the engine. It is used to create workflow using BPMN 2.0.
3. Activiti Modeler
The Activiti Modeler can be used to create workflow/model on BPMN 2.0 compliant processes graphically using a browser. The process files are stored by the server in a database model repository. Activiti-Explorer Web App consists the Activiti-Modeler In-Built to create the workflow/model.
4. Activiti Engine
It is the heart of the Activiti. It’s a Java process engine that runs BPMN 2 processes natively. It uses the Activiti API’s to process the BPMN 2 process. Activiti Engine is simply a jar which is used for the development of workflow using Activiti and exposes the functionalities to it.
In the next series, we will see how Activiti is used in a business scenario.
Written by Sandeep.
Sandeep is a Research Associate at Qruize Technologies specializing in Java Development.