Performs

Performs elements are required whenever referencing the
RequestingBusinessActivity or RespondingBusinessActivity in a BTA or within the BTAs
of a ComplexBTA. Also Performs elements are required when the Role values in a
referring context differ from or need to be switched between the Role values in the
referenced context. (The main referring contexts for Business Collaborations are the
content models of the CollaborationActivity and ExternalRoles elements.The BTAs and
ComplexBTAs are the other referring contexts.) For example, in
a Business Collaboration between two parties is related to another Business
Collaboration (also of two parties) using a Collaboration Activity, the roles may
change for the involved parties. Those roles are traced and associated with the
parties. This functionality supports tracing and binding of roles of the Business
Collaboration across and within multiple levels of nesting. Where allowed, the Performs element may
be omitted if the actual values of Roles in the referring and referred-to context
are the same (i.e. string identical) and they match. Note: This element was added in
v2.0.

Element Information

Model

Children: Documentation

Attributes

QName Type Fixed Default Use Inheritable Annotation
currentRoleRef xsd:IDREF required
The currentRoleRef attribute defines the nameID reference of the
specific role currently used in an activity. If roles change, this name ID
reference for the currently used role is the referring role that is linked to
the referred-to role in the performsRoleRef.
performsRoleRef xsd:IDREF optional
The performsRoleRef attribute defines nameID reference of the
referred-to role for the specific role used in an activity. This referred-to role is bound
to the referring role (currentRoleRef).

Used By

Source

<xsd:element name="Performs">
  <xsd:annotation>
    <xsd:documentation>Performs elements are required whenever referencing the RequestingBusinessActivity or RespondingBusinessActivity in a BTA or within the BTAs of a ComplexBTA. Also Performs elements are required when the Role values in a referring context differ from or need to be switched between the Role values in the referenced context. (The main referring contexts for Business Collaborations are the content models of the CollaborationActivity and ExternalRoles elements.The BTAs and ComplexBTAs are the other referring contexts.) For example, in a Business Collaboration between two parties is related to another Business Collaboration (also of two parties) using a Collaboration Activity, the roles may change for the involved parties. Those roles are traced and associated with the parties. This functionality supports tracing and binding of roles of the Business Collaboration across and within multiple levels of nesting. Where allowed, the Performs element may be omitted if the actual values of Roles in the referring and referred-to context are the same (i.e. string identical) and they match. Note: This element was added in v2.0.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="PerformsType"/>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:unique name="Performs-ID">
    <xsd:selector xpath="."/>
    <xsd:field xpath="nameID"/>
  </xsd:unique>
</xsd:element>

Sample