Adding task resource logic to handle service task submission