Moved back to using deprecated getSubContext method

Not ready to do changes required for process task