Implementation of Task as Branch strategy