http://jbpm.org/jpdl-4
element process-definition

Documentation
A jPDL process definition description; This 
    is the top level element in a jPDL process file.
Properties
This component is not nillable.

Model
<process-definition
  initial = string
  {}
  version = int>
((state | decision | fork | join | process-state | super-state | end-state | activity | invoke | script | email | task)* , on*, timer* )*
</process-definition>


Nested Element Summary
 activity
          Executes an activity implementation.  
 decision
          Selects one path out of many alternatives. 
 email
          Sends an email  
 end-state
          Ends the process instance.  
 fork
          Spawns multiple concurrent paths of execution.  
 invoke
          Invokes a method on a java object  
 join
          Spawns multiple concurrent paths of execution.  
 on
          Events on which listeners can be registered. 
 process-state
          Waits while a sub process instance is being executed and continues when the sub process instance ends.  
 script
          Evaluates a piece of text as a script  
 state
          A wait state. 
 super-state
          Scope enclosing a number of nodes.  
 task
          Creates a human task  
 timer
          

Attribute Summary
 stringinitial
          Refers to the name of the initial node. 
 name
          The process name. 
 intversion
          Indicates the sequence number of this version for all processes with the same name. 

Attribute Detail

initial

Refers to the name of the initial node. When a new execution is started for a process definition, it is positioned in the initial node and that initial node is executed.

Type:
string
Use:
optional
Form:
qualified

name

The process name. Multiple processes can be deployed with the same name, as long as they have a different version.

Type:
Use:
required
Form:
qualified

version

Indicates the sequence number of this version for all processes with the same name. By specifying a version automatic deployment can figure out if this process is already deployed or not.

Type:
int
Use:
optional
Form:
qualified

Source
<element name="process-definition">
<complexType>
<sequence maxOccurs="unbounded" minOccurs="0">
<group maxOccurs="unbounded" minOccurs="0" ref="tns:activityGroup"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on">
</element>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:timer"/>
</sequence>
<attribute name="name" use="required">
</attribute>
<attribute name="version" type="int">
</attribute>
<attribute name="initial" type="string">
</attribute>
</complexType>
</element>


Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.