← All types

InstallSharedResourcePayload

Result of installing a catalog template into the calling tenant. Failures are returned in this payload rather than raised as GraphQL errors.

Fields

True when the resource was created or updated in this tenant. False when the template could not be fetched or validation failed — see errors.

Kind of resource the template installed. Null only when the template itself could not be fetched, so its type is unknown.

Possible values (8)
CUSTOM_APP

Custom application template

WORKFLOW

Workflow template

SCRIPT

Script template

DASHBOARD

Dashboard template

INTEGRATION_DEFINITION

Integration definition template

TEMPLATE

Template template

ML_MODEL_CONFIG

ML model configuration template

PRODUCT_TEMPLATE

Product template

TypeID of the resource created or updated in this tenant (e.g. "scr_01K…" for a script, "wfl_01K…" for a workflow); its prefix follows resourceType. Null when the install failed. Installs are idempotent by handle/name, so this may be the id of a pre-existing resource.

errors

[FieldError!]!Non-null

Field-level validation or lookup failures explaining an unsuccessful install. Empty when success is true.

Referenced by (1)
Exact type SDL
"""
Result of installing a catalog template into the calling tenant. Failures are returned in this payload rather than raised as GraphQL errors.
"""
type InstallSharedResourcePayload {
  """
  True when the resource was created or updated in this tenant. False when the template could not be fetched or validation failed — see `errors`.
  """
  success: Boolean!
  """
  Kind of resource the template installed. Null only when the template itself could not be fetched, so its type is unknown.
  """
  resourceType: SharedResourceType
  """
  TypeID of the resource created or updated in this tenant (e.g. "scr_01K…" for a script, "wfl_01K…" for a workflow); its prefix follows `resourceType`. Null when the install failed. Installs are idempotent by handle/name, so this may be the id of a pre-existing resource.
  """
  resourceId: String
  """
  Field-level validation or lookup failures explaining an unsuccessful install. Empty when `success` is true.
  """
  errors: [FieldError!]!
}