public function getOutputsValue()
    {
        if ($this->status != 'complete') {
            return;
        }

        $val = $this->getAttributeFromArray('outputs');
        if (is_string($val)) {
            return $this->outputs;
        }

        return $val;
    }