xpdl:Activity

BPMN extension

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
CompletionQuantity xsd:integer 1 optional
FinishMode restriction of xsd:NMTOKEN optional
Id xpdl:Id required
BPMN: unique identifier of the flow object
IsATransaction xsd:boolean false optional
IsForCompensation xsd:boolean false optional
Name xsd:string optional
BPMN: label of the flow object in the diagram
StartActivity xsd:boolean optional
Designates the first activity to be executed when the process is instantiated. Used when there is no other way to determine this Conflicts with BPMN StartEvent and no process definition should use both.
StartMode restriction of xsd:NMTOKEN optional
StartQuantity xsd:integer 1 optional
Status restriction of xsd:NMTOKEN None optional
BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to an Activity. It is unclear that status belongs in the XPDL document.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.wfmc.org/2009/XPDL2.2'

Used By

Source

<xsd:element name="Activity">
  <xsd:annotation>
    <xsd:documentation>BPMN extension</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="xpdl:Description" minOccurs="0"/>
      <xsd:element ref="xpdl:Limit" minOccurs="0"/>
      <xsd:choice minOccurs="0">
        <xsd:element ref="xpdl:Route"/>
        <xsd:element ref="xpdl:Implementation">
          <xsd:annotation>
            <xsd:documentation>BPMN: corresponds to an activity, which could be a task or subprocess.[Suggest change element to BpmnActivity, since there is an attribute Implementation which means something else entirely.]</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:choice minOccurs="0">
          <xsd:element ref="deprecated:BlockActivity"/>
          <xsd:element ref="xpdl:BlockActivity"/>
        </xsd:choice>
        <xsd:element ref="xpdl:Event">
          <xsd:annotation>
            <xsd:documentation>BPMN: Identifies XPDL activity as a BPMN event.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element ref="xpdl:Transaction" minOccurs="0"/>
      <xsd:element ref="xpdl:Performers" minOccurs="0"/>
      <xsd:element ref="xpdl:Performer" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Deprecated from XPDL2.0. Must be a child of Performers</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element ref="deprecated:StartMode" minOccurs="0"/>
      <xsd:element ref="deprecated:FinishMode" minOccurs="0"/>
      <xsd:element ref="xpdl:Priority" minOccurs="0"/>
      <xsd:choice minOccurs="0">
        <xsd:element ref="deprecated:Deadline" minOccurs="0" maxOccurs="unbounded"/>
        <xsd:element ref="xpdl:Deadline" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:choice>
      <xsd:element ref="xpdl:SimulationInformation" minOccurs="0"/>
      <xsd:element ref="xpdl:Icon" minOccurs="0"/>
      <xsd:element ref="xpdl:Documentation" minOccurs="0"/>
      <xsd:element ref="xpdl:TransitionRestrictions" minOccurs="0"/>
      <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/>
      <xsd:element ref="xpdl:DataFields" minOccurs="0"/>
      <xsd:element ref="xpdl:FormalParameters" minOccurs="0"/>
      <xsd:element ref="xpdl:ActualParameters" minOccurs="0"/>
      <xsd:element ref="xpdl:InputSets" minOccurs="0"/>
      <xsd:element ref="xpdl:OutputSets" minOccurs="0"/>
      <xsd:element ref="xpdl:IORules" minOccurs="0"/>
      <xsd:element ref="xpdl:Loop" minOccurs="0"/>
      <xsd:element ref="xpdl:Assignments" minOccurs="0"/>
      <xsd:element ref="xpdl:Object" minOccurs="0"/>
      <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0"/>
      <xsd:choice minOccurs="0">
        <xsd:sequence>
          <xsd:element name="Extensions">
            <xsd:annotation>
              <xsd:documentation>This element is needed to distinguish neighboring wildcard elements, it is not functional</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attribute name="Id" type="xpdl:Id" use="required">
      <xsd:annotation>
        <xsd:documentation>BPMN: unique identifier of the flow object</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="IsForCompensation" type="xsd:boolean" use="optional" default="false"/>
    <xsd:attribute name="Name" type="xsd:string" use="optional">
      <xsd:annotation>
        <xsd:documentation>BPMN: label of the flow object in the diagram</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="StartActivity" type="xsd:boolean" use="optional">
      <xsd:annotation>
        <xsd:documentation>Designates the first activity to be executed when the process is instantiated. Used when there is no other way to determine this Conflicts with BPMN StartEvent and no process definition should use both.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="Status" use="optional" default="None">
      <xsd:annotation>
        <xsd:documentation>BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to an Activity. It is unclear that status belongs in the XPDL document.</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="None"/>
          <xsd:enumeration value="Ready"/>
          <xsd:enumeration value="Active"/>
          <xsd:enumeration value="Cancelled"/>
          <xsd:enumeration value="Aborting"/>
          <xsd:enumeration value="Aborted"/>
          <xsd:enumeration value="Completing"/>
          <xsd:enumeration value="Completed"/>