Information Technology Reference
In-Depth Information
Configuring the task nodes
The task nodes in BPMN 2.0 are where concrete actions take place. The steps that are re-
quired to achieve our process' goal are going to be defined using task nodes.
The BPMN 2.0 specification provides eight task types (Abstract task, Service task, Send
task, Receive task, User task, Manual task, Business Rule task, and Script task), and
jBPM6 supports all of them.
We will focus on the valid set of properties that affect each of the different tasks supported
by jBPM6, but we are not going to cover the detailed behavior of the tasks at runtime.
In the Web Process Designer, all of the different types of tasks are implemented by just one
element in the Shape Repository panel— Task . The TaskType property of each node is
going to specify its concrete type. An empty value for TaskType (the default value in the
Web Process Designer) identifies an abstract task.
Each task type has a different set of attributes that we can use to configure it. The Web Pro-
cess Designer will automatically show only the valid attributes for each specific task type.
The following table explains the valid properties for each type:
Abstract task
Property
Description
Name
The name for the task that will be shown in the box.
DataInputSet The input variables of the node.
DataOutputSet The output variables of the node.
Assignments
The assignments between the process variables and the input and output variables of the node.
On Entry Ac-
tions
A piece of Java code that is invoked before the node gets executed. All of the process variables are available in this piece
of code. This is an extension of BPMN 2.0 provided by jBPM6, and not part of the standard.
On Exit Ac-
tions
A piece of Java code that is invoked after the node gets executed. All of the process variables are available in this piece of
code. This is an extension of BPMN 2.0 provided by jBPM6, and not part of the standard.
Search WWH ::




Custom Search