/** * @url POST /:prjUid/activity/:actUid/adhoc-assignee * * @param string $prjUid {@min 32} {@max 32} * @param string $actUid {@min 32} {@max 32} * @param string $ada_uid {@min 32} {@max 32} * @param string $ada_type {@choice user,group} * * @status 201 */ public function doPostActivityAdhocAssignee($prjUid, $actUid, $ada_uid, $ada_type) { try { $task = new \ProcessMaker\BusinessModel\Task(); $task->addTaskAdhocAssignee($prjUid, $actUid, $ada_uid, $ada_type); } catch (\Exception $e) { //Response throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()); } }