Thread assignment for product while creation or updation