xpdl:SubFlow

Element Information

Model

(xpdl:ActualParameters | xpdl:DataMappings) , xpdl:EndPoint{0,1} , ANY element from ANY namespace OTHER than 'http://www.wfmc.org/2009/XPDL2.2'

Attributes

QName Type Fixed Default Use Inheritable Annotation
Execution restriction of xsd:NMTOKEN SYNCHR optional
Id xpdl:IdRef required
BPMN: Corresponds to BPMN attribute ProcessRef, pointer to WorkflowProcess/@Id in BPD referenced by PackageRef. [Suggest name change to ProcessRef; this is IDREF not ID].
InstanceDataField xsd:string optional
Used to store the instance id of the subflow instantiated by the activity. This is then available later on (e.g. for correlation, messaging etc.) especially in the case of asynchronous invocation.
Name xsd:string optional
PackageRef xpdl:IdRef optional
BPMN: Corresponds to BPMN attribute DiagramRef, pointer to a BPD identified by Package/@Id.  [Maybe IDREF doesn't work here since ID is in a different document.]
StartActivityId xpdl:IdRef optional
StartActivitySetId xpdl:IdRef optional
View restriction of xsd:NMTOKEN COLLAPSED optional
BPMN: Detrmines rendering of subprocess as Collapsed or Expended. Default is Collapsed.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.wfmc.org/2009/XPDL2.2'

Used By

Source

<xsd:element name="SubFlow">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:choice minOccurs="0">
        <xsd:element ref="xpdl:ActualParameters">
          <xsd:annotation>
            <xsd:documentation>Deprecated in XPDL 2.2, use the Actual Parameters at the Activity Level</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element ref="xpdl:DataMappings">
          <xsd:annotation>
            <xsd:documentation>Deprecated in XPDL 2.2, use the Actual Parameters at the Activity Level</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element ref="xpdl:EndPoint" minOccurs="0"/>
      <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attribute name="Id" type="xpdl:IdRef" use="required">
      <xsd:annotation>
        <xsd:documentation>BPMN: Corresponds to BPMN attribute ProcessRef, pointer to WorkflowProcess/@Id in BPD referenced by PackageRef. [Suggest name change to ProcessRef; this is IDREF not ID].</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="Name" type="xsd:string" use="optional"/>
    <xsd:attribute name="Execution" use="optional" default="SYNCHR">
      <xsd:simpleType>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="ASYNCHR"/>
          <xsd:enumeration value="SYNCHR"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="View" use="optional" default="COLLAPSED">
      <xsd:annotation>
        <xsd:documentation>BPMN: Detrmines rendering of subprocess as Collapsed or Expended. Default is Collapsed.</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="COLLAPSED"/>
          <xsd:enumeration value="EXPANDED"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="PackageRef" type="xpdl:IdRef" use="optional">
      <xsd:annotation>
        <xsd:documentation>BPMN: Corresponds to BPMN attribute DiagramRef, pointer to a BPD identified by Package/@Id. [Maybe IDREF doesn't work here since ID is in a different document.]</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="InstanceDataField" type="xsd:string" use="optional">
      <xsd:annotation>
        <xsd:documentation>Used to store the instance id of the subflow instantiated by the activity. This is then available later on (e.g. for correlation, messaging etc.) especially in the case of asynchronous invocation.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="StartActivitySetId" type="xpdl:IdRef" use="optional"/>
    <xsd:attribute name="StartActivityId" type="xpdl:IdRef" use="optional"/>
    <xsd:anyAttribute namespace="##other" processContents="lax"/>
  </xsd:complexType>
</xsd:element>

Sample