element <tns:process>
Namespace:
Type:
anonymous complexType
Content:
complex, 3+any attributes, 21 elements
Defined:
globally in jpdl-4.0.xsd, see XML source
Includes:
definitions of 3+any attributes and 4 elements
Used:
never
XML Representation Summary
<tns:process
    key
 = 
string
    name
 = 
string
    version
 = 
int
   
    >
   
Content: 
(tns:description*, tns:swimlane*, tns:on*, tns:timer*, (tns:start | tns:end | tns:end-cancel | tns:end-error | tns:state | tns:decision | tns:fork | tns:join | tns:script | tns:hql | tns:sql | tns:mail | tns:java | tns:custom | tns:task | tns:sub-process | tns:group)*)*
</tns:process>
Content model elements (21):
tns:custom (type extension of tns:wireObjectType),
tns:decision (type anonymous),
tns:end (type anonymous),
tns:end-cancel (type anonymous),
tns:end-error (type anonymous),
tns:fork (type anonymous),
tns:group (type anonymous),
tns:hql (type extension of tns:qlType),
tns:java (type extension of tns:javaType),
tns:join (type anonymous),
tns:mail (type extension of tns:mailType),
tns:script (type extension of tns:scriptType),
tns:sql (type extension of tns:qlType),
tns:start (type anonymous),
tns:state (type anonymous),
tns:sub-process (type anonymous),
tns:task (type anonymous),
Annotation
A jPDL process definition description; This is the top level element in a jPDL process file.
XML Source (see within schema source)
<element name="process">
<annotation>
<documentation>
A jPDL process definition description; This
is the top level element in a jPDL process file.
</documentation>
</annotation>
<complexType>
<sequence maxOccurs="unbounded" minOccurs="0">
<element maxOccurs="unbounded" minOccurs="0" name="description" type="string"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:swimlane"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:timer"/>
<group maxOccurs="unbounded" minOccurs="0" ref="tns:activityGroup"/>
</sequence>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
The process name. Multiple processes can be deployed with the same name, as long as they have a different
version.
</documentation>
</annotation>
</attribute>
<attribute name="key" type="string">
<annotation>
<documentation>
The key can be used to provide a short acronym that will replace the name as the basis for the generated
process definition id
</documentation>
</annotation>
</attribute>
<attribute name="version" type="int">
<annotation>
<documentation>
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.
</documentation>
</annotation>
</attribute>
<anyAttribute processContents="skip">
<annotation>
<documentation>
for extensibility
</documentation>
</annotation>
</anyAttribute>
</complexType>
</element>
Attribute Detail
Defined:
within (this) tns:process element
for extensibility
XML Source (see within schema source)
<anyAttribute processContents="skip">
<annotation>
<documentation>
for extensibility
</documentation>
</annotation>
</anyAttribute>

key
Type:
string, predefined
Use:
optional
Defined:
locally, within (this) tns:process element
The key can be used to provide a short acronym that will replace the name as the basis for the generated process definition id
XML Source (see within schema source)
<attribute name="key" type="string">
<annotation>
<documentation>
The key can be used to provide a short acronym that will replace the name as the basis for the generated
process definition id
</documentation>
</annotation>
</attribute>

name
Type:
string, predefined
Use:
required
Defined:
locally, within (this) tns:process element
The process name. Multiple processes can be deployed with the same name, as long as they have a different version.
XML Source (see within schema source)
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
The process name. Multiple processes can be deployed with the same name, as long as they have a different
version.
</documentation>
</annotation>
</attribute>

version
Type:
int, predefined
Use:
optional
Defined:
locally, within (this) tns:process element
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.
XML Source (see within schema source)
<attribute name="version" type="int">
<annotation>
<documentation>
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.
</documentation>
</annotation>
</attribute>
Content Element Detail
tns:custom
Type:
anonymous (extension of tns:wireObjectType), complex content
Defined:
Uses a user defined, custom implementation of ActivityBehaviour
XML Source (see within schema source)
<element name="custom">
<annotation>
<documentation>
Uses a user defined, custom implementation of
ActivityBehaviour
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:wireObjectType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>

tns:decision
Type:
anonymous, complex content
Defined:
Decision gateway: selects one path out of many alternatives. When an execution comes in, exactly one outgoing transition is taken.
XML Source (see within schema source)
<element name="decision">
<annotation>
<documentation>
Decision gateway: selects one path out of many alternatives.
When an execution comes in, exactly one outgoing transition is taken.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="handler" type="tns:wireObjectType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="condition">
<complexType>
<attribute name="expr" type="string">
<annotation>
<documentation>
The script text that will be evaluated.
</documentation>
</annotation>
</attribute>
<attribute name="lang" type="string">
<annotation>
<documentation>
Identification of the scripting language
to use.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- TODO add conditions -->
</element>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute name="expr" type="string">
<annotation>
<documentation>
The script that will be evaluated and resolve to
the name of the outgoing transition.
</documentation>
</annotation>
</attribute>
<attribute name="lang" type="string">
<annotation>
<documentation>
Identification of the scripting language
to use for the expr attribute.
</documentation>
</annotation>
</attribute>
</complexType>
</element>

tns:description
Type:
string, predefined, simple content
Defined:
locally, within (this) tns:process element
XML Source (see within schema source)
<element maxOccurs="unbounded" minOccurs="0" name="description" type="string"/>

tns:end
Type:
anonymous, complex content
Defined:
End event.
XML Source (see within schema source)
<element name="end">
<annotation>
<documentation>
End event.
</documentation>
</annotation>
<complexType>
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute default="process-instance" name="ends">
<simpleType>
<restriction base="string">
<enumeration value="execution"/>
<enumeration value="process-instance"/>
</restriction>
</simpleType>
</attribute>
<attribute default="ended" name="state" type="string">
<annotation>
<documentation>sets the state of the execution explicitely</documentation>
</annotation>
</attribute>
</complexType>
</element>

tns:end-cancel
Type:
anonymous, complex content
Defined:
End cancel event.
XML Source (see within schema source)
<element name="end-cancel">
<annotation>
<documentation>
End cancel event.
</documentation>
</annotation>
<complexType>
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute default="process-instance" name="ends">
<simpleType>
<restriction base="string">
<enumeration value="execution"/>
<enumeration value="process-instance"/>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>

tns:end-error
Type:
anonymous, complex content
Defined:
End cancel event.
XML Source (see within schema source)
<element name="end-error">
<annotation>
<documentation>
End cancel event.
</documentation>
</annotation>
<complexType>
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute default="process-instance" name="ends">
<simpleType>
<restriction base="string">
<enumeration value="execution"/>
<enumeration value="process-instance"/>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>

tns:fork
Type:
anonymous, complex content
Defined:
Spawns multiple concurrent paths of execution.
XML Source (see within schema source)
<element name="fork">
<annotation>
<documentation>
Spawns multiple concurrent paths of
execution.
</documentation>
</annotation>
<complexType>
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</complexType>
</element>

tns:group
Type:
anonymous, complex content
Defined:
Scope enclosing a number of activities.
XML Source (see within schema source)
<element name="group">
<annotation>
<documentation>
Scope enclosing a number of activities.
</documentation>
</annotation>
<complexType>
<sequence>
<group maxOccurs="unbounded" minOccurs="0" ref="tns:activityGroup"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:timer"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</complexType>
</element>

tns:hql
Type:
anonymous (extension of tns:qlType), complex content
Defined:
Performs a hibernate query
XML Source (see within schema source)
<element name="hql">
<annotation>
<documentation>
Performs a hibernate query
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:qlType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>

tns:java
Type:
anonymous (extension of tns:javaType), complex content
Defined:
Invokes a method on a java object. Either the java class is instantiated with reflection, or the java object is fetched from the environment. Then values from the environment are injected into the fields and a method is executed.
XML Source (see within schema source)
<element name="java">
<annotation>
<documentation>
Invokes a method on a java object.
Either the java class is instantiated with reflection, or the
java object is fetched from the environment. Then values from the
environment are injected into the fields and a method is executed.
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:javaType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>

tns:join
Type:
anonymous, complex content
Defined:
Spawns multiple concurrent paths of execution.
XML Source (see within schema source)
<element name="join">
<annotation>
<documentation>
Spawns multiple concurrent paths of
execution.
</documentation>
</annotation>
<complexType>
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute name="multiplicity" type="int"/>
<attribute default="upgrade" name="lockmode">
<simpleType>
<restriction base="string">
<enumeration value="none"/>
<enumeration value="read"/>
<enumeration value="upgrade"/>
<enumeration value="upgrade_nowait"/>
<enumeration value="write"/>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>

tns:mail
Type:
anonymous (extension of tns:mailType), complex content
Defined:
Sends an email
XML Source (see within schema source)
<element name="mail">
<annotation>
<documentation>
Sends an email
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:mailType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>

tns:on
Type:
anonymous, complex content
Defined:
by reference, within (this) tns:process element
XML Source (see within schema source)
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>

tns:script
Type:
anonymous (extension of tns:scriptType), complex content
Defined:
Evaluates a piece of text as a script
XML Source (see within schema source)
<element name="script">
<annotation>
<documentation>
Evaluates a piece of text as a script
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:scriptType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>

tns:sql
Type:
anonymous (extension of tns:qlType), complex content
Defined:
Performs a hibernate SQL query
XML Source (see within schema source)
<element name="sql">
<annotation>
<documentation>
Performs a hibernate SQL query
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:qlType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>

tns:start
Type:
anonymous, complex content
Defined:
Start event
XML Source (see within schema source)
<element name="start">
<annotation>
<documentation>
Start event
</documentation>
</annotation>
<complexType>
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:transition"/>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute name="form" type="string">
<annotation>
<documentation>
the resource name of the form in the
deployment.
</documentation>
</annotation>
</attribute>
</complexType>
</element>

tns:state
Type:
anonymous, complex content
Defined:
A wait state. When an execution arrives in this activity, the execution will wait until an external trigger is received with execution.signal() or execution.getActivityInstance().signal()
XML Source (see within schema source)
<element name="state">
<annotation>
<documentation>
A wait state. When an execution arrives in this
activity, the execution will wait until an external trigger is received
with execution.signal() or execution.getActivityInstance().signal()
</documentation>
</annotation>
<complexType>
<sequence>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element maxOccurs="unbounded" minOccurs="0" name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element minOccurs="0" ref="tns:timer"/>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</complexType>
</element>

tns:sub-process
Type:
anonymous, complex content
Defined:
Waits while a sub process instance is being executed and continues when the sub process instance ends.
XML Source (see within schema source)
<element name="sub-process">
<annotation>
<documentation>
Waits while a sub process instance is
being executed and continues when the sub process instance ends.
</documentation>
</annotation>
<complexType>
<sequence maxOccurs="unbounded" minOccurs="0">
<element maxOccurs="unbounded" minOccurs="0" name="parameter-in" type="tns:parameterType"/>
<element maxOccurs="unbounded" minOccurs="0" name="parameter-out" type="tns:parameterType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:timer"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="swimlane-mapping">
<complexType>
<attribute name="swimlane" type="string" use="required"/>
<attribute name="sub-swimlane" type="string" use="required"/>
</complexType>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="outcome-value">
<complexType>
<group ref="tns:wireObjectGroup"/>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="sub-process-id" type="string">
<annotation>
<documentation>
Identifies the sub process by the id. This means that a specific
version of a process definition is referenced
</documentation>
</annotation>
</attribute>
<attribute name="sub-process-key" type="string">
<annotation>
<documentation>
Identifies the sub process by the key. This means that the latest
version of the process definition with the given key is referenced. The latest version
of the process is looked up each time the activity executes.
</documentation>
</annotation>
</attribute>
<attribute name="outcome" type="string">
<annotation>
<documentation>
Expression that is evaluated when the sub process
instance ends. The value is then used for outcome transition mapping.
</documentation>
</annotation>
</attribute>
<attributeGroup ref="tns:activityAttributes"/>
</complexType>
</element>

tns:swimlane
Type:
anonymous, empty content
Defined:
by reference, within (this) tns:process element
XML Source (see within schema source)
<element maxOccurs="unbounded" minOccurs="0" ref="tns:swimlane"/>

tns:task
Type:
anonymous, complex content
Defined:
Creates a task in the task component.
XML Source (see within schema source)
<element name="task">
<annotation>
<documentation>
Creates a task in the task component.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="assignment-handler" type="tns:wireObjectType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:on"/>
<element minOccurs="0" name="notification">
<complexType>
<attribute default="sync" name="continue" type="tns:continueType"/>
<attribute name="template" type="tns:templateType" use="optional"/>
</complexType>
</element>
<element minOccurs="0" name="reminder">
<complexType>
<attribute name="duedate" type="string"/>
<attribute name="repeat" type="string"/>
<attribute default="sync" name="continue" type="tns:continueType"/>
<attribute name="template" type="tns:templateType" use="optional"/>
</complexType>
</element>
<element maxOccurs="unbounded" minOccurs="0" ref="tns:timer"/>
<element maxOccurs="unbounded" minOccurs="0" name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element minOccurs="0" ref="tns:timer"/>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attributeGroup ref="tns:assignmentAttributes"/>
<attribute name="swimlane" type="string"/>
<attribute name="form" type="string">
<annotation>
<documentation>
the resource name of the form in the
deployment.
</documentation>
</annotation>
</attribute>
<attribute name="duedate" type="string"/>
<attribute default="cancel" name="on-transition">
<simpleType>
<restriction base="string">
<enumeration value="keep"/>
<enumeration value="cancel"/>
</restriction>
</simpleType>
</attribute>
<attribute default="complete" name="completion" type="string"/>
</complexType>
</element>

tns:timer
Type:
anonymous, complex content
Defined:
by reference, within (this) tns:process element
XML Source (see within schema source)
<element maxOccurs="unbounded" minOccurs="0" ref="tns:timer"/>

This XML schema documentation has been generated with DocFlex/XML RE 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set.
DocFlex/XML RE is a reduced edition of DocFlex/XML, which is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-end XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support more than 300 template parameters (working the same as "options" of an ordinary doc-gen), which will give you an unprecedented control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To enable/disable documenting of the initial, imported, included and redefined XML schemas selectively.
  • To document local element components both globally and locally (similar to attributes).
  • To enable/disable reproducing of namespace prefixes.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in the form of a single HTML file.
  • To use the same template to generate the incredible quality RTF documentation.
  • To document only selected XML schema components specified by name.
  • To remove this very advertisement text
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML SDK and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for DocFlex/XML SDK will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note: By purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the result of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To buy a license, please follow this link: http://www.filigris.com/shop/