==================== End ==================== 1. MCCS Subarray Leaf Node provides API for the End workflow. 2. The TMC MCCS Leaf Node accepts the command if: a. MCCS Subarray is in observation state **READY**. b. MCCS Subarray is responsive.(:ref:`availablity`) 3. The TMC MCCS Leaf Node rejects the command if: a. MCCS Subarray is not in the required observation state. b. MCCS Subarray is not responsive. 4. The following state requirements are applied for command execution: a. MCCS Subarray is in observation state **READY**. b. MCCS Subarray node is available. 5. The command execution involves the following key operations: a. The command is invoked on the MCCS Subarray. b. Command outcomes: i. If MCCS Subarray rejects the command, failure is reported as '**RESULT_CODE - FAILED**' on the **Long Running Command Result** attribute of the TMC MCCS Leaf Node. ii. If MCCS Subarray accepts the command, the TMC MCCS Leaf Node waits for command completion. 6. The TMC MCCS Leaf Node monitors the progress of the command via the MCCS Subarray node ObsState transitions and the **Long Running Command Result**: a. Command is **successful** when the MCCS Subarray node transitions to **IDLE** ObsState. This is reported as '**RESULT_CODE - OK**' on the **Long Running Command Result** attribute of the TMC MCCS Subarray leaf node. b. Command failure is reported in any of the following cases as '**RESULT_CODE - FAILED**' on the **Long Running Command Result** attribute of the TMC MCCS Subarray leaf node: i. The MCCS Subarray reports '**RESULT_CODE - FAILED**' on its **Long Running Command Result** attribute. ii. The command times out if the MCCS Subarray node does not transition to **IDLE** within the timeout period specified by the **CommandTimeOutDefault** property