public function outcomeValidation($attribute)
{
if ($this->outcome_id && ($this->question || $this->default_function || $this->default_value || $this->response_type)) {
$this->addError($attribute, 'Outcome nodes cannot have any other values set.');
}
}