Message-ID: <1774153115.9489.1419276838002.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9488_1775513740.1419276838002" ------=_Part_9488_1775513740.1419276838002 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Activiti is a workflow and Business Process Management (BPM) platform. I=
ts core is a super-fast and rock-solid BPMN 2 process engine for Java. It's=
extremely lightweight and based on simple concepts.
The Tapestry-Acti= viti module allows you to interact with your Activiti instance and its key = process entities from Tapestry. You can also call Tapestry servic= es from within your process definition.
In order to start using Tapestry-Activiti, you need to meet the followin= g requirements:
You need the following module in order to use Activiti in your Tapestry = application:
These artifacts are available in the maven main repository. No need to c= onfigure any additional repositories.
For the module to work, you first need to tell tapestry-activiti what pr= ocesses need to be deployed:
There are various configuration options that may be set, for example if = you want to use a different database other than the default H2 database:
Make sure to check the Tapestry-Activiti Javadocs and the Activiti User = Manual for a list of the configuration options that may be set.
Tapestry-Activiti defines various Activiti services, including:
These can be used throughout your Tapestry application to manipulate the= Activiti process.
You may use the Activiti services throughout your application using= Tapestry injection, for example:
You may at one point need to call a method defined in a Tapestry service= from an Activiti process.
Suppose we have the following service defined:
We could then call this service method from a process by using an Activi= ti expression:
The service's service-id is always used to reference a service from an A= ctiviti process.