Tag Archives: Activiti User Guide

[repost ]Activiti 5.12 User Guide

original:http://www.activiti.org/userguide/index.html

Table of Contents

1. Introduction
License
Download
Sources
Required software
JDK 6+
Eclipse Indigo and Juno
Reporting problems
Experimental features
Internal implementation classes
2. Getting Started
One minute version
Activiti setup
Activiti database setup
Include the Activiti jar and its dependencies
Next steps
3. Configuration
Creating a ProcessEngine
ProcessEngineConfiguration bean
Database configuration
Supported databases
Creating the database tables
Database table names explained
Database upgrade
Job executor activation
Mail server configuration
History configuration
Exposing configuration beans in expressions and scripts
Deployment cache configuration
Logging
4. The Activiti API
The Process Engine API and services
Exception strategy
Working with the Activiti services
Deploying the process
Starting a process instance
Completing tasks
Suspending and activating a process
Further reading
Query API
Expressions
Unit testing
Debugging unit tests
The process engine in a web application
5. Spring integration
ProcessEngineFactoryBean
Transactions
Expressions
Automatic resource deployment
Unit testing
6. Deployment
Business archives
Deploying programmatically
Deploying with Activiti Explorer
External resources
Java classes
Using Spring beans from a process
Creating a single app
Versioning of process definitions
Providing a process diagram
Generating a process diagram
Category
7. BPMN 2.0 Introduction
What is BPMN?
Defining a process
Getting started: 10 minute tutorial
Prerequisites
Goal
Use case
Process diagram
XML representation
Starting a process instance
Task lists
Claiming the task
Completing the task
Ending the process
Code overview
Future enhancements
8. BPMN 2.0 Constructs
Custom extensions
Events
Event Definitions
Timer Event Definitions
Error Event Definitions
Signal Event Definitions
Message Event Definitions
Start Events
None Start Event
Timer Start Event
Message Start Event
Error Start Event
End Events
None End Event
Error End Event
Cancel End Event
Boundary Events
Timer Boundary Event
Error Boundary Event
Signal Boundary Event
Message Boundary Event
Cancel Boundary Event
Compensation Boundary Event
Intermediate Catching Events
Timer Intermediate Catching Event
Signal Intermediate Catching Event
Message Intermediate Catching Event
Intermediate Throwing Event
Intermediate Throwing None Event
Signal Intermediate Throwing Event
Compensation Intermediate Throwing Event
Sequence Flow
Description
Graphical notation
XML representation
Conditional sequence flow
Default sequence flow
Gateways
Exclusive Gateway
Parallel Gateway
Inclusive Gateway
Event-based Gateway
Tasks
User Task
Script Task
Java Service Task
Web Service Task
Business Rule Task
Email Task
Mule Task
Camel Task
Manual Task
Java Receive Task
Shell Task
Execution listener
Task listener
Multi-instance (for each)
Compensation Handlers
Sub-Processes and Call Activities
Sub-Process
Event Sub-Process
Transaction subprocess
Call activity (subprocess)
Transactions and Concurrency
Asynchronous Continuations
Exclusive Jobs
Process Initiation Authorization
9. Forms
Form properties
External form rendering
10. JPA
Requirements
Configuration
Usage
Simple Example
Query JPA process variables
Advanced example using Spring beans and JPA
11. History
Querying history
HistoricProcessInstanceQuery
HistoricVariableInstanceQuery
HistoricActivityInstanceQuery
HistoricDetailQuery
HistoricTaskInstanceQuery
History configuration
History for audit purposes
12. Eclipse Designer
Installation
Activiti Designer editor features
Activiti Designer BPMN features
Activiti Designer deployment features
Extending Activiti Designer
Customizing the palette
Validating diagrams and exporting to custom output formats
13. Activiti Explorer
Process diagram
Tasks
Start process instances
My instances
Administration
Reporting
Report data JSON
Example process
Report start forms
Example processes
Changing the database
14. Activiti Modeler
Model editing
Importing existing models
Convert deployed definitions to a editeable model
Export model to BPMN XML
Deploy model to the Activiti Engine
15. REST API
General Usage
Repository
Upload Deployment
Get Deployments
Get Deployment Resources
Get Deployment Resource
Delete Deployment
Delete Deployments
Engine
Get Process Engine
Processes
List Process Definitions
Get Process Definition Form Properties
Get Process Definition Form Resource
Get Process Definition Diagram
Start Process Instance
List Process Instances
Get Process Instance Details
Get Process Instance Diagram
Get open tasks for a process instance
Signal an activity (receive task) for a specific process instance
Tasks
Get Task Summary
List Tasks
Get Task
Get Task Form
Perform Task Operation
List Form Properties
Add attachment to a task
Get task attachment
Add url to a task
Identity
Login
Get User
List User’s Groups
Search users
Create user
Add user to groups
Remove user from group
Get user picture
Get Group
List Group Users
Search groups
Create group
Add users to a group
Remove user from group
Management
List Jobs
Get Job
Execute Job
Execute Jobs
List Database Tables
Get Table Meta Data
Get Table Data
16. CDI integration
Setting up activiti-cdi
Looking up a Process Engine
Configuring the Process Engine
Deploying Processes
Contextual Process Execution with CDI
Associating a Conversation with a Process Instance
Declaratively controlling the Process
Referencing Beans from the Process
Working with @BusinessProcessScoped beans
Injecting Process Variables
Receiving Process Events
Additional Features
Known Limitations
17. Advanced
Hooking into process parsing
Enable safe BPMN 2.0 xml