First, the process
In JPDL, the process element is the top-level element of each process definition, meaning that any process definition must start and end in the following form
<process>...</process>
Properties owned by the process element:
Property |
Type |
Default value |
Whether you must |
Describe |
Name |
Text |
No |
Have to |
Show to users |
Key |
|
If omitted, the build based on name |
|
Identify different processes |
Version |
Integral type |
Starting from 1 |
|
Different versions of the same process |
The sub-elements under it are: description, activities
Second, flow control activities
start--Start activity
state--Status Activity
decision--Judging Activity
fork--join--Branch/aggregation activity
end--End Activity
task--Human task activity
sup-process--Sub-process activities
custom--Custom Activities
1.start
That is, the entrance to the process, must have a start in a process, must have an outflow transfer (transition), this transfer will be executed in the process through the start activity.
2.state (status activity)
This article is from the "It Rookie" blog, make sure to keep this source http://mazongfei.blog.51cto.com/3174958/1928813
JBPM (vi)--mastering the JBPM process definition language