工作流引擎Activiti 专题

https://github.com/Activiti/Activiti

Quick Start Guide

This quick start assumes:

  • Familiarity with Maven and Java
  • A development environment with Java

The following variables will be referenced in this tutorial

VariableDescription
$mvnProject The root location of the maven project
$actUnzipedPack The root location of the unzipped file downloaded from http://www.activiti.org/download.html.
$quickStartJavaProjectName The name of the Quick Start Java Project. This is recommended to be “ActivitiDeveloperQuickStart”.
... Refers to information being skipped, for brevity sake.
$actVer The version of Activiti currently being run.


1. Introduction

This Quick Start shows the simplicity of embedding Business Process Management (BPM) into your application using Activiti. You will build a command-line application that embeds standards-based Business Process Modeling Notation (BPMN) logic into your application.

Activiti has advanced process design tools for embedding more sophisticated BPM logic into your application. These tools include an Eclipse-based and Web-Based BPMN Editor to name a few. For brevity, this Quick Start only uses Activiti’s Java APIs.

For an introduction to additional Activiti BPM tooling, see:

  • Sample Onboarding Quick Start
  • Activiti User’s Guide

This Quick Start

  • In general, stays away from IDE-specific illustrations (though, they are done sparingly). Activiti works with any Java-friendly IDE.
  • Uses Maven, but other build and dependencies management systems like Gradle and Ivy work too.


2. Create and Setup Maven Project

Create a Java project called “ActivitiDeveloperQuickStart” (onwards referred to as $quickStartJavaProjectName) with the following Maven dependencies:

posted @ 2017-07-12 15:38  沧海一滴  阅读(469)  评论(0编辑  收藏  举报