CompliancePolicyVersion

Represents the version of the Compliance Policy that tracks amendments. This object is available in API version 65.0 and later.

Supported Calls 

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

Fields 

ChangeSummary 

  • Type: textarea
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: A summary of the changes made to the compliance policy version.

CompliancePolicyId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: The compliance policy associated with the compliance policy version.

    This field is a relationship field.

  • Relationship Name: CompliancePolicy

  • Relationship Type: Master-detail

  • Refers To: CompliancePolicy (the master object)

EffectiveFrom 

  • Type: date
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The date when the compliance policy version becomes effective.

EffectiveTo 

  • Type: date
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The date until when the compliance policy version remains effective.

LastReferencedDate 

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

LastViewedDate 

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

Name 

  • Type: string
  • Properties: Filter, Group, idLookup, Sort
  • Description: The name of the compliance policy version.

OwnerId 

  • Type: reference

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Description: The ID of the user who created the record.

    This field is a polymorphic relationship field.

  • Relationship Name: Owner

  • Refers To: Group, User

ReferenceDocumentList 

  • Type: textarea
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The URLs to the supporting documents for the version.

Status 

  • Type: picklist

  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update

  • Description: Specifies the status of the compliance policy version.

  • Possible values:

    • Active
    • Draft
    • Published
    • Retired

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.

CompliancePolicyVersionChangeEvent

Change events are available for the object.

CompliancePolicyVersionFeed

Feed tracking is available for the object.

CompliancePolicyVersionHistory

History is available for tracked fields of the object.

CompliancePolicyVersionShare

Sharing is available for the object.