Fix for warning while create projects without a diagram element like evets, etc

This commit is contained in:
eriknyk
2014-07-25 11:39:47 -04:00
parent e1ef3d58ce
commit 624a2d4ff1
2 changed files with 14 additions and 0 deletions

View File

@@ -86,4 +86,12 @@ class WorkflowBpmn extends Project\Workflow
parent::remove();
$this->bp->remove();
}
public function addTask($taskData)
{
$tasUid = parent::addTask($taskData);
// logica para bpmn
$this->bp->addActivity(array('ACT_UID'=>$tasUid));
}
}