xpdl:TaskService

BPMN

Element Information

Model

xpdl:MessageIn{0,1} , xpdl:MessageOut{0,1} , xpdl:WebServiceOperation{0,1} , xpdl:WebServiceFaultCatch* , ANY element from ANY namespace OTHER than 'http://www.wfmc.org/2009/XPDL2.2'

Attributes

QName Type Fixed Default Use Inheritable Annotation
Implementation restriction of xsd:NMTOKEN WebService optional
BPMN: Implementation-related, but required if the Task is Service
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.wfmc.org/2009/XPDL2.2'

Used By

Element xpdl:Task

Source

<xsd:element name="TaskService">
  <xsd:annotation>
    <xsd:documentation>BPMN</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="MessageIn" type="xpdl:MessageType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="MessageOut" type="xpdl:MessageType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0"/>
      <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attribute name="Implementation" use="optional" default="WebService">
      <xsd:annotation>
        <xsd:documentation>BPMN: Implementation-related, but required if the Task is Service</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="WebService"/>
          <xsd:enumeration value="Other"/>
          <xsd:enumeration value="Unspecified"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:anyAttribute namespace="##other" processContents="lax"/>
  </xsd:complexType>
</xsd:element>

Sample