3.8.7.6 Phase Zero Complete

The Phase Zero Complete event MUST be signaled with the following arguments:

  • An Enlistment object.

  • An outcome value. This value MUST be one of the following:

    • Success

    • Failure

If the Phase Zero Complete event is signaled, the Subordinate Transaction Manager Facet (section 3.8) MUST perform the following actions:

  • If the provided outcome is Success:

    • Send a PARTNERTM_PROPAGATE_MTAG_PHASE0COMPLETE (section 2.2.9.1.1.1.18) message using the provided enlistment's connection.

    • Set the connection state to Active.

  • Otherwise:

    • Send a PARTNERTM_PROPAGATE_MTAG_ABORTNOTIFY (section 2.2.9.1.1.1.13) message using the provided enlistment's connection.

    • Set the connection state to Ended.