Sequence
The Sequence task is similar to an “and” operation. It will return failure as soon as one of its child tasks return failure. If a child task returns success then it will sequentially run the next child task. If all child tasks return success then it will return success.
In this example the Return Status task first returned success. Because of the success the Sequence task moved onto its next child, the middle Return Status task. This task returned failure and the Sequence task stopped traversing and returned a status of failure.
In order for the Sequence task to traverse its children the child tasks must return a success status. The first Return Status task returned failure, thus the Sequence task stopped traversing its children and returned a failure status.
In this example all of the children returned a success status so the Sequence task was able to traverse all of its children. The Sequence task returned a success status.