code: public function getResource()
      {
          if (!$this->resource_type || !$this->resource_id) {
              return null;
          }
  
          return $this->getApi()->getStore()->find(
              ResourceIdentifier::create($this->resource_type, (string) $this->resource_id)
          );
      }
docs: Get the resource that the process relates to.
  
  @return mixed|null