group "tns:activityGroup"
Namespace:
Content:
Defined:
globally in jpdl-4.4.xsd, see XML source
Includes:
definitions of 22 elements
Used:
Complex Content Model
tns:start | tns:end | tns:end-cancel | tns:end-error | tns:state | tns:decision | tns:foreach | tns:fork | tns:join | tns:script | tns:hql | tns:sql | tns:mail | tns:jms | tns:java | tns:assign | tns:custom | tns:task | tns:sub-process | tns:group | tns:rules-decision | tns:rules
Content Model Elements (22):
tns:assign (type extension of tns:assignType),
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:foreach (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:jms (type extension of tns:jmsType),
tns:join (type anonymous),
tns:mail (type extension of tns:mailType),
tns:rules (type anonymous),
tns:rules-decision (type anonymous),
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 minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute name="form" type="string">
<annotation>
<documentation>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 minOccurs="0" name="description" type="string"/>
<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>
Specify the end state of the execution explicitly.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="end-cancel">
<annotation>
<documentation>End cancel event.</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<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 minOccurs="0" name="description" type="string"/>
<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>
Wait state. When an execution arrives in this activity,
the execution stops until an external trigger is delivered through
execution.signal() or execution.getActivityInstance().signal()
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element minOccurs="0" ref="tns:timer"/>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
</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 arrives, it takes exactly one outgoing transition.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<element minOccurs="0" name="handler" type="tns:wireObjectType"/>
<choice maxOccurs="unbounded" minOccurs="0">
<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>Expression to evaluate.</documentation>
</annotation>
</attribute>
<attribute name="lang" type="string">
<annotation>
<documentation>Scripting language to interpret.</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
</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>
<!-- ~~~ FOREACH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<element name="foreach">
<annotation>
<documentation>
Spawns concurrent paths of execution
over each element of a collection.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute name="var" type="string" use="required"/>
<attribute name="in" type="string" use="required"/>
</complexType>
</element>
<!-- ~~~ FORK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<element name="fork">
<annotation>
<documentation>
Spawns multiple concurrent paths of
execution.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</complexType>
</element>
<!-- ~~~ JOIN ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<element name="join">
<annotation>
<documentation>
Spawns multiple concurrent paths of
execution.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute name="multiplicity" type="string"/>
<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">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<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">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<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">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<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">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>
<!-- ~~~ JMS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<element name="jms">
<annotation>
<documentation>Sends an email.</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:jmsType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<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.
Values are then injected into the fields and.
Finally a method is invoked.
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:javaType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>
<!-- ~~~ ASSIGN ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<element name="assign">
<annotation>
<documentation>Assigns a source value to a target location.</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:assignType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>
<!-- ~~~ CUSTOM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<element name="custom">
<annotation>
<documentation>
Calls a user defined, custom implementation of
ActivityBehaviour.
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:wireObjectType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element minOccurs="0" ref="tns:timer"/>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
<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="description" type="string"/>
<element minOccurs="0" name="assignment-handler" type="tns:wireObjectType"/>
<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>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:timer"/>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element minOccurs="0" ref="tns:timer"/>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attributeGroup ref="tns:assignmentAttributes"/>
<attribute name="swimlane" type="string"/>
<attribute name="form" type="string">
<annotation>
<documentation>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>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="parameter-in" type="tns:parameterType"/>
<element name="parameter-out" type="tns:parameterType"/>
<element ref="tns:timer"/>
<element ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
<element name="swimlane-mapping">
<complexType>
<attribute name="swimlane" type="string" use="required"/>
<attribute name="sub-swimlane" type="string" use="required"/>
</complexType>
</element>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="outcome-value">
<complexType>
<group ref="tns:wireObjectGroup"/>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
</sequence>
<attribute name="sub-process-id" type="string">
<annotation>
<documentation>
References a sub-process by 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>
References a sub-process by key. Therefore, the latest
version of the process definition with the given key is referenced.
The latest version is resolved in each execution.
</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>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<group ref="tns:activityGroup"/>
<element ref="tns:transition"/>
<element ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
<element ref="tns:timer"/>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</complexType>
</element>
<!-- ~~~ RULES DECISION ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<element name="rules-decision">
<annotation>
<documentation>
Selects one outgoing transition based on evaluation
of rules.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:transition"/>
<element ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</complexType>
</element>
<!-- ~~~ RULES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<element name="rules">
<annotation>
<documentation>
Evaluates rules after feeding in some facts in a stateful
knowledge session.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="fact">
<complexType>
<attribute name="var" type="string"/>
<attribute name="expr" type="string"/>
</complexType>
</element>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="condition">
<complexType>
<sequence>
<element minOccurs="0" name="handler" type="tns:wireObjectType"/>
</sequence>
<attribute name="expr" type="string">
<annotation>
<documentation>Expression to evaluate.</documentation>
</annotation>
</attribute>
<attribute name="lang" type="string">
<annotation>
<documentation>Script language to interpret.</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
<element ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</complexType>
</element>
</choice>
</group>
Content Element Detail
tns:assign
Type:
anonymous (extension of tns:assignType), complex content
Defined:
locally, within (this) tns:activityGroup group
Assigns a source value to a target location.
XML Source (see within schema source)
<element name="assign">
<annotation>
<documentation>Assigns a source value to a target location.</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:assignType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>

tns:custom
Type:
anonymous (extension of tns:wireObjectType), complex content
Defined:
locally, within (this) tns:activityGroup group
Calls a user defined, custom implementation of ActivityBehaviour.
XML Source (see within schema source)
<element name="custom">
<annotation>
<documentation>
Calls a user defined, custom implementation of
ActivityBehaviour.
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:wireObjectType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element minOccurs="0" ref="tns:timer"/>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
<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 arrives, it takes exactly one outgoing transition.
XML Source (see within schema source)
<element name="decision">
<annotation>
<documentation>
Decision gateway: selects one path out of many alternatives.
When an execution arrives, it takes exactly one outgoing transition.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<element minOccurs="0" name="handler" type="tns:wireObjectType"/>
<choice maxOccurs="unbounded" minOccurs="0">
<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>Expression to evaluate.</documentation>
</annotation>
</attribute>
<attribute name="lang" type="string">
<annotation>
<documentation>Scripting language to interpret.</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
</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 minOccurs="0" name="description" type="string"/>
<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>
Specify the end state of the execution explicitly.
</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 minOccurs="0" name="description" type="string"/>
<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 minOccurs="0" name="description" type="string"/>
<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:foreach
Type:
anonymous, complex content
Defined:
locally, within (this) tns:activityGroup group
Spawns concurrent paths of execution over each element of a collection.
XML Source (see within schema source)
<element name="foreach">
<annotation>
<documentation>
Spawns concurrent paths of execution
over each element of a collection.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute name="var" type="string" use="required"/>
<attribute name="in" type="string" use="required"/>
</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 minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
</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>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<group ref="tns:activityGroup"/>
<element ref="tns:transition"/>
<element ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
<element ref="tns:timer"/>
</choice>
</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">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<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. Values are then injected into the fields and. Finally a method is invoked.
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.
Values are then injected into the fields and.
Finally a method is invoked.
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:javaType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>

tns:jms
Type:
anonymous (extension of tns:jmsType), complex content
Defined:
locally, within (this) tns:activityGroup group
Sends an email.
XML Source (see within schema source)
<element name="jms">
<annotation>
<documentation>Sends an email.</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:jmsType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<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 minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute name="multiplicity" type="string"/>
<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">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>

tns:rules
Type:
anonymous, complex content
Defined:
locally, within (this) tns:activityGroup group
Evaluates rules after feeding in some facts in a stateful knowledge session.
XML Source (see within schema source)
<element name="rules">
<annotation>
<documentation>
Evaluates rules after feeding in some facts in a stateful
knowledge session.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="fact">
<complexType>
<attribute name="var" type="string"/>
<attribute name="expr" type="string"/>
</complexType>
</element>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="condition">
<complexType>
<sequence>
<element minOccurs="0" name="handler" type="tns:wireObjectType"/>
</sequence>
<attribute name="expr" type="string">
<annotation>
<documentation>Expression to evaluate.</documentation>
</annotation>
</attribute>
<attribute name="lang" type="string">
<annotation>
<documentation>Script language to interpret.</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
<element ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</complexType>
</element>

tns:rules-decision
Type:
anonymous, complex content
Defined:
locally, within (this) tns:activityGroup group
Selects one outgoing transition based on evaluation of rules.
XML Source (see within schema source)
<element name="rules-decision">
<annotation>
<documentation>
Selects one outgoing transition based on evaluation
of rules.
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:transition"/>
<element ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
</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">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<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">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<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 minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attribute name="form" type="string">
<annotation>
<documentation>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
Wait state. When an execution arrives in this activity, the execution stops until an external trigger is delivered through execution.signal() or execution.getActivityInstance().signal()
XML Source (see within schema source)
<element name="state">
<annotation>
<documentation>
Wait state. When an execution arrives in this activity,
the execution stops until an external trigger is delivered through
execution.signal() or execution.getActivityInstance().signal()
</documentation>
</annotation>
<complexType>
<sequence>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element minOccurs="0" ref="tns:timer"/>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
</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>
<element minOccurs="0" name="description" type="string"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="parameter-in" type="tns:parameterType"/>
<element name="parameter-out" type="tns:parameterType"/>
<element ref="tns:timer"/>
<element ref="tns:on">
<annotation>
<documentation>Events on which listeners can be registered.</documentation>
</annotation>
</element>
<element name="swimlane-mapping">
<complexType>
<attribute name="swimlane" type="string" use="required"/>
<attribute name="sub-swimlane" type="string" use="required"/>
</complexType>
</element>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="outcome-value">
<complexType>
<group ref="tns:wireObjectGroup"/>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
</sequence>
<attribute name="sub-process-id" type="string">
<annotation>
<documentation>
References a sub-process by 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>
References a sub-process by key. Therefore, the latest
version of the process definition with the given key is referenced.
The latest version is resolved in each execution.
</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="description" type="string"/>
<element minOccurs="0" name="assignment-handler" type="tns:wireObjectType"/>
<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>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:timer"/>
<element name="transition">
<complexType>
<complexContent>
<extension base="tns:transitionType">
<sequence>
<element minOccurs="0" ref="tns:timer"/>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
</sequence>
<attributeGroup ref="tns:activityAttributes"/>
<attributeGroup ref="tns:assignmentAttributes"/>
<attribute name="swimlane" type="string"/>
<attribute name="form" type="string">
<annotation>
<documentation>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/