Difference between revisions of "Process modelling"

From OpenKM Documentation
Jump to: navigation, search
(Nodes)
(Nodes)
Line 27: Line 27:
  
 
=== Node node ===
 
=== Node node ===
 +
You can define the behaviour using a Action element, which will be executed when the process arrives to the node.
 +
 
[[File:Jbpm node node.png|center]]
 
[[File:Jbpm node node.png|center]]
  
Line 33: Line 35:
  
 
=== Decision node ===
 
=== Decision node ===
You can define the behaviour using a Action element, which will be executed when the process arrives to the node.
+
There are 2 ways to model a decision. The distinction between the two is based on *who* is making the decision.
 +
 
 +
* When the decision is to be taken by the process, a decision node should be used.
 +
 
 +
* When the decision is taken by an external party, you should use multiple transitions leaving a state.
  
 
[[File:Jbpm node decision.png|center]]
 
[[File:Jbpm node decision.png|center]]
Line 43: Line 49:
  
 
=== Join node ===
 
=== Join node ===
 +
The join node take all these concurrent executions before continue with the process execution.
  
 
[[File:Jbpm node join.png|center]]
 
[[File:Jbpm node join.png|center]]

Revision as of 09:50, 12 January 2012

We are going to describe the elements which define a jBPM process. A process is composed by:

  • Nodes
  • Transitions
Workflow example simple.png

To create a process definition in a graphical way, you can use jBPM Graphical Process Designer. This tool is packaged as a Eclipse plugin.

Nodes

The define the states of the process definition. They are connected by transitions. Both define the different path which can be followed in a running process definition. A running process definition is called process instance.

There are several types of nodes:

Start node

Jbpm node start.png

End node

End nodes define the end of the process execution. A process may have several end nodes. In this case the process finish when the process arrives to any of these end nodes.

Jbpm node end.png

Task node

Jbpm node task.png

Node node

You can define the behaviour using a Action element, which will be executed when the process arrives to the node.

Jbpm node node.png

State node

Jbpm node state.png

Decision node

There are 2 ways to model a decision. The distinction between the two is based on *who* is making the decision.

  • When the decision is to be taken by the process, a decision node should be used.
  • When the decision is taken by an external party, you should use multiple transitions leaving a state.
Jbpm node decision.png

Fork node

A fork node splits one path of execution into multiple concurrent paths of execution.

Jbpm node fork.png

Join node

The join node take all these concurrent executions before continue with the process execution.

Jbpm node join.png