Ejemplo n.º 1
0
 /**
  * GET list process
  *
  * @return array
  * @throws RestException
  *
  * @param string $task_uid {@min 1}{@max 32}
  *
  * @url GET /userstoreassign/:task_uid
  */
 public function getUsersToReassign ($task_uid)
 {
     try {
         $usr_uid = $this->getUserId();
         $oLight = new \ProcessMaker\BusinessModel\Light();
         $process = $oLight->getUsersToReassign($usr_uid, $task_uid);
     } catch (\Exception $e) {
         throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
     }
     return $process;
 }