コード例 #1
0
ファイル: Cases.php プロジェクト: nhenderson/processmaker
 /**
  * Execute triggers
  *
  * @param string $app_uid {@min 1}{@max 32}
  * @param int $del_index {@from body}
  * @param string $obj_type {@from body}
  * @param string $obj_uid {@from body}
  *
  * @copyright Colosa - Bolivia
  *
  * @url PUT /:app_uid/execute-triggers
  */
 public function doPutExecuteTriggers($app_uid, $del_index, $obj_type, $obj_uid)
 {
     try {
         $cases = new \ProcessMaker\BusinessModel\Cases();
         $cases->putExecuteTriggers($app_uid, $del_index, $obj_type, $obj_uid);
     } catch (\Exception $e) {
         throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
     }
 }