cgc_sync__Sync_History__c

Stores information about every sync that’s performed on the mobile app along with its status information and associated Key Performance Indicators (KPIs). This object is available in API version 53.0 and later.

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

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: Unique identification of the record.
  • Type: reference

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

  • Description: ID of the owner.

    This is a polymorphic relationship field.

  • Relationship Name: Owner

  • Relationship Type: Lookup

  • Refers To: Group, User

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Connection type at the start of the sync.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Installation ID of the device.
  • Type: double

  • Properties: Filter, Nillable, Sort

  • Description: Total time taken for the synchronization process to complete.

    This is a calculated field.

  • Formula:

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Timestamp when the synchronization is completed.
  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: Collects and stores sync KPI data in a compressed format when a sync operation is run. The KPI data includes metrics such as duration and record count for named fetch trees, named queries, and tracked objects.
  • Type: picklist

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

  • Description: No longer in use. Indicated the status of KPIs that were submitted for analysis. Possible values were:

    • Complete
    • InProgress
    • Ready
  • Type: double

  • Properties: Filter, Nillable, Sort

  • Description: Number of detailed log messages.

    This is a calculated field.

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Number of downloaded records.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Number of uploaded records.
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Timestamp when the sync started.
  • Type: double

  • Properties: Filter, Nillable, Sort

  • Description: Time taken in seconds to complete a sync process, excluding the queue waiting time. If the Queue sync users at maximum limit setting is disabled, the field takes the Duration value.

    This field is a calculated field.

  • Formula:

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: History of the logs created during synchronization.

    This is a calculated field.

  • Formula:

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the unique id of the sync request.
  • Type: picklist

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

  • Description: The system’s current synchronization state.

  • Possible values:

    • Cancelled
    • Connection Issue
    • Download Issue
    • Error
    • Synchronized
    • Up and Download Issues
    • Upload Issue
  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the sync completed successfully (true) or not (false).
  • Default value: false
  • Type: picklist

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

  • Description: Source that triggered the sync.

  • Possible values:

    • Scheduler
    • SyncOnOnline
    • SyncOnResume
    • SyncOnStartup
    • User Action
  • Type: picklist

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

  • Description: Indicates the type of the sync.

  • Possible values:

    • Background Sync
    • FSOD
    • Initial Sync
    • On Demand
    • Regular Sync
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Queue waiting time of a sync request in seconds. Value is zero if the Queue Sync User feature is disabled.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Total number of all API calls made during the sync.

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