public function removeActivity($actUid) { $activity = \BpmnActivityPeer::retrieveByPK($actUid); parent::removeActivity($actUid); $this->wp->removeTask($actUid); //Delete Script-Task $scriptTask = new \ProcessMaker\BusinessModel\ScriptTask(); $scriptTask->deleteWhere(array( \ScriptTaskPeer::PRJ_UID => $activity->getPrjUid(), \ScriptTaskPeer::ACT_UID => $activity->getActUid() )); }
public function removeActivity($actUid) { parent::removeActivity($actUid); $this->wp->removeTask($actUid); }