public function getNextStepFromDatabase()
    {
        if ($this->SessionID && is_numeric($this->SessionID)) {
            $nextSteps = $this->config()->get('next_steps');

            if (is_string($nextSteps)) {
                return DataObject::get_one($nextSteps, "\"SessionID\" = {$this->SessionID}");
            } elseif (is_array($nextSteps)) {
                return DataObject::get_one($nextSteps[0], "\"SessionID\" = {$this->SessionID}");
            } else {
                return false;
            }
        }
    }