public function &spawn(Ezer_ScopeInstance $scope_instance)
 {
     $ret = new Ezer_PropelScopeInstance();
     $ret->setProcessId($this->getId());
     $ret->setContainer($scope_instance);
     $ret->setStepId($this->getId());
     $ret->setName($this->getName());
     $ret->setVariables($scope_instance->getVariables());
     $ret->save();
     return $ret;
 }
 public function __construct()
 {
     parent::__construct();
     $this->dataObject = new Ezer_PropelBusinessProcessInstanceData();
     $this->setType(Ezer_IntStep::STEP_TYPE_PROCESS);
 }