Assistant Task Completion

When an assistant task is completed, the primary task handler is notified. E.g., the primary task is to clear up a spillage and an assistant task is created to assist. The assistant task handler completes their task before the primary task handler arrives. They mark the assistant task as completed and the primary task handler is notified.

If a primary task is completed before an assistant task has been accepted by the assistant task handler, the assistant task is cancelled with the reason "Auto cancelled - primary task completed". E.g., the primary task is to clear up a spillage and an assistant task is created to assist. The primary task handler completes their task before the assistant task handler accepted the assistant task. They mark the primary task as completed and the assistant task is cancelled.

If a primary task is completed after the assistant task has been accepted by the assistant task handler, the assistant task must be completed by the assistant task handler. E.g., the primary task is to clear up a spillage and an assistant task is created to assist. The primary task handler completes their task after the assistant task handler has accepted the assistant task but before they arrive at the spillage. The primary task holder marks the primary task as completed. The assistant task handler must complete their task.