Give both tasks separate classes, and use Result enum instead of status integers.
Add Result enum