.. _abortlow: ============= Abort ============= 1. SDP Leaf Node provides API for **Abort workflow**. 2. The SDP Leaf Node **accepts** the command if: a. Operational **state** of the SDP Subarray node is **ON, OFF, INIT, STANDBY, or ALARM**. 3. The SDP Leaf Node **rejects** the command if: a. Operational **state** of the SDP Leaf node is **FAULT or UNKNOWN**. 4. The **command execution** involves the following **key operations**: a. The command is invoked on the SDP Subarray. i. If the SDP Subarray **raises an exception**, command failure is reported as **RESULT_CODE - FAILED** on the **Long Running Command Result** attribute of the SDP Leaf Node. ii. If the SDP Subarray **accepts the command**, the TMC SDP Leaf Node will wait for command completion. 5. The SDP Leaf Node **monitors the progress** of the command via the SDP Subarray node **ObsState transitions**. a. Command is **successful** when the SDP Subarray Node transitions to **ABORTED** ObsState. This is reported as **RESULT_CODE - OK** on the **Long Running Command Result** attribute of the TMC SDP 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 SDP Subarray Leaf Node: i. The SDP Subarray reports an **error event** when the command is invoked. ii. The command **times out** if the SDP Subarray Node **does not transition** to **ABORTED** within the timeout period specified by the CommandTimeOutDefault property in the Helm chart of the SDP Leaf Node.