FlexHierVldJobRun

Represents an execution instance of a hierarchy validation job that includes validation requests for one or more hierarchies. This object is available in API version 67.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Special Access Rules

This is a standard object and is available only when you turn on the Flexible Hierarchies setting.

Fields

EndDateTime

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date and time when the validation job is completed.

InvalidHierarchyCount

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The total number of hierarchies that failed validation during the job run.

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date when a user referenced this record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date when a user viewed this record.

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the flexible hierarchy validation job.

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The owner of the flexible hierarchy record.

    This field is a polymorphic relationship field.

  • Relationship Name: Owner
  • Refers To: Group, User

Status

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: The status of the validation job.
  • Possible values:
    • Completed
    • Failed
    • InProgress

TotalHierarchyCount

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The total number of hierarchies processed during the validation run.

ValidHierarchyCount

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The total number of hierarchies that passed validation during the job run.

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

FlexHierVldJobRunChangeEvent
Change events are available for the object.
FlexHierVldJobRunFeed
Feed tracking is available for the object.
FlexHierVldJobRunHistory
History is available for tracked fields of the object.
FlexHierVldJobRunOwnerSharingRule
Sharing rules are available for the object.
FlexHierVldJobRunShare
Sharing is available for the object.