group "tns:activityGroup"
Namespace:
Content:
Defined:
globally in jpdl-4.0.xsd, see XML source
Includes:
definitions of 17 elements
Used:
Complex Content Model
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
Content Model Elements (17):
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)
Known Usage Locations
XML Source (see within schema source)
<group name="activityGroup">
<choice>
<!-- ~~~ START ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ END ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<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>
<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>
<!-- ~~~ STATE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ DECISION ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ FORK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ JOIN ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ SCRIPT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ HQL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ SQL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ MAIL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ JAVA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ CUSTOM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ TASK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ SUB-PROCESS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
<!-- ~~~ group ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<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>
</choice>
</group>
Content Element Detail
tns:custom
Type:
anonymous (extension of tns:wireObjectType), complex content
Defined:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:end
Type:
anonymous, complex content
Defined:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:script
Type:
anonymous (extension of tns:scriptType), complex content
Defined:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:
locally, within (this) tns:activityGroup group
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:task
Type:
anonymous, complex content
Defined:
locally, within (this) tns:activityGroup group
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>

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/