Running an Initial Sync Report
After you run initial sync, you can run a report to validate that all data is properly synced. The browser-based report provides totals for the number of Max and Salesforce records configured for initial sync, and details on the number of records that were successfully synced. Inactive Initial Sync Action records are skipped, and Salesforce record IDs that failed to sync are also included for follow-up purposes. You can generate this report synchronously or asynchronously.
To run an initial sync report:
1. To run the report synchronously, in a web browser, enter a URL in the following format:
<tenant_url>/init_sync_report?batchSize=<batchSize>&threads=<threads>
For example:
https://my.serviceboardtenant.io/init_sync_report?batchSize=1000&threads=21
Parameter
Description
Values
batchSize
The number of records to fetch from Salesforce per REST API call.
Minimum: 200
Maximum: 2,000
Default: 2,000
threads
The number of concurrent threads used to process the records fetched from Salesforce.
Default: 15
* 
If large amounts of data are being synchronized from Salesforce, there can sometimes be a long delay before the report appears in your browser. To check status, you can view the Initial Sync Report application log, which is updated continuously as each initial sync action is executed.
2. To run the report asynchronously, in a web browser, enter a URL in the following format, using the same parameters as for the synchronous method:
<tenant_url>/async_init_sync_report?batchSize=<batchSize>&threads=<threads>
For example:
https://my.serviceboardtenant.io/async_init_sync_report?batchSize=1000&threads=2
3. When a deferred operation is returned by the UI, for example, 5b9ed596-b1f0-4cd7-b98b-76f9ac251294, to check its status, call GET:/get_deferred_operation_result and specify the returned value for the deferred_operation_id parameter:
https://my.serviceboardtenant.io/get_deferred_operation_result?deferred_operation_id=5b9ed596-b1f0-4cd7-b98b-76f9ac251294
Any of the following values can be returned:
FINISHED: the operation finished OK.
NONEXISTENT_OR_DELETED: the operation does not exist or its result has already been deleted.
FAILED: the operation has finished with errors.
RUNNING: the operation is still running.
CANCELLED: the operation has been canceled due to timeout.
4. When you see the FINISHED return value in the UI, view the Initial Sync Report application log to see the report.
For more information:
Was this helpful?