Sync Log

The Sync Log object is intended to store the details of the sync process and operations performed in the course of the synchronization depending on the value in the Debug Level option on the CT Mobile Control Panel: General tab.

The Debug Level option should be specified for each profile separately. Each profile should have the Edit permission for all fields of the Sync Log object.

Salesforce API-name: clm__SyncLog__c


Field API Type Description

Date

clm__Date__c

Date/Time

Date and time of the operation or the synchronization completion/interruption.

Description

clm__Description__c

Long Text(32768)

Description of the operation.

  • for sending only sync logs: Part 1 from 1

  • for sending logs, data dump, and all/unsynchronized/no photos: Part n from m.

If a mobile user sends an application data dump, the field contains Part n from m, where n is the number of an attachment and m is the total number of attachments.

Duration

clm__Duration__c

Number(18,0)

Synchronization duration in seconds:

  • if the application was stopped due to some issues, the value in this field is zero.

  • if the synchronization is interrupted due to the connection failure, the value in this field is the actual time before the interruption.

Errors count

clm__ErrorsCount__c

Number(18,0)

The number of records with errors when the clm__Operation__c contains Create, Update, Delete, Insert.

Failed IDs

clm__FailedIds__c

Long Text Area(131072)

The IDs of records containing errors when the clm__Operation__c contains Create, Update, Delete, Insert.

The record IDs for the Insert value will not be written as these records only have temporary IDs.

Failed Messages

clm__FailedMessages__c

Long Text Area(131072)

Error texts for each failed record when the clm__Operation__c contains Create, Update, Delete, Insert.

Geolocation

clm__Geolocation__c

Geolocation

The current user’s geolocation if the type of operation is Geolocation.

Geo Timing

clm__GeoTiming__c

Long Text Area(131072)

The current user’s local time if the type of operation is Geo Tracing.

Geo Tracing

clm__GeoTracing__c

Long Text(131072)

The user coordinates (separated by a semicolon, without blank spaces) that will be captured if the user has moved 50 or more meters from the previous location.

If the tracking interval is 0, the user’s coordinates will not be captured.

Has Recovery Data

clm__HasRecoveryData__c

Checkbox

Not in use.

Object name

clm__ObjectName__c

Text(255)

Name of the operation object when the clm__Operation__c contains Create, Update, Delete, Insert.

Operation

clm__Operation__c

Text(255)

The type of synchronization:

  • Full Sync

  • Fast Sync

  • Mixed Sync

  • Quick Record Sync.

Or the type of operation:

  • Create

  • Update

  • Delete

  • Login

  • Insert

  • Geo Tracing

  • Geolocation

  • Sync Log

  • Sync Log History (for sending only send logs to Salesforce)

  • Export Data (for sending data from the CT Mobile app)

Records Count

clm__RecordsCount__c

Text(255)

The total number of records transmitted in the course of the operation when the clm__Operation__c contains Create, Update, Delete, Insert.

Status

clm__Status__c

Picklist

Synchronization status:

  • Success. The synchronization is completed.

  • Partially Success. If some errors occur during the synchronization, but the synchronization is completed.

  • Failed. If any error occurred during the full synchronization. The Sync Log record of the failed synchronization is sent to Salesforce after the next synchronization is finished.

``