Created task completed logic.