/** * @url POST /process/:pro_uid/task/:task_uid/start-case * * @param string $pro_uid {@min 32}{@max 32} * @param string $task_uid {@min 32}{@max 32} */ public function postStartCase($pro_uid, $task_uid) { try { $oMobile = new \ProcessMaker\BusinessModel\Light(); $result = $oMobile->startCase($this->getUserId(), $pro_uid, $task_uid); } catch (\Exception $e) { throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage())); } return $result; }