Activiti BPMN task of learning [six]

Environment
  the JDK 1.8
  MySQL 5.6
  Tomcat 7
  the Eclipse-Luna
  activiti 6.0

a task
task represents work to be done in the process.

1, the task inheritance

2, task type
Service Task (Service task) can be used to call external services or automatic execution.
Send Task (sending task) for working with external processes involved in the work of the person who sent the message. eg: EmailTask.
Receive Taks (receiving task) task waiting for an external process participants to send a message.
User Task (user tasks) expressed the need for people to participate in the task, you can configure a candidate / group / agents and the like.
Script Task (script task) for executing scripts defined, process execution to this node to automatically execute the script.

Two, Script Task
the Activiti supports a variety of scripting languages, scripting languages to these norms and JSR-223 compatible. Default provide JUEL expression. Commonly used JavaScript and Groovy.


Three, Service Task
the Activiti implemented as a service provides three tasks: java, web service, shell.

Fourth, manual tasks and receive tasks
do not need any program or process engine driven task will be executed automatically.
Tasks need to wait to receive a notification message in order to continue execution of the task.


Fifth, the sending task
Activiti have Email Task and Mule Task to send the task to achieve.

Six task listeners and listener processes

Guess you like

Origin www.cnblogs.com/cac2020/p/11640400.html