SDK - How to set task/job Status?