- 24 Mar 2023
- 2 Minutes to read
-
PDF
Syncing Data
- Updated on 24 Mar 2023
- 2 Minutes to read
-
PDF
Overview
Cloudingo must sync with Salesforce to know which records to look at when recalculating filters (which queries for new results). Due to the syncing process, re-indexing frequently is unnecessary. Salesforce data is not stored locally on Cloudingo servers. However, the sync process notifies Cloudingo of new or updated record IDs that may impact filters.
What Impact Does Sync Mode Have?
- Sync mode settings can impact how quickly Cloudingo reports duplicate records in filter results.
- The sync mode can also impact bulk job error reporting (like hitting the max CPU limit) if your org has poorly configured workflows, triggers, or Process Builder flows running.
- Most commonly, CPU errors are due to Process Builder flows that max out the CPU limit before Cloudingo can perform the sync jobs.
- The syncing process does not make changes to Salesforce data.
Sync Modes
There are three sync modes available. Cloudingo will automatically determine the best mode for your Account based on features enabled and activity in your org. This option will be set accordingly. This option is not configurable from within the application. This is a server-side-only setting. If you would like to know which mode you are currently on, please contact our Support Team.
Three Sync Modes Available:
- POSyncs (Agent)
- Closest to real-time.
- Creates a POSync job when any record in Salesforce gets updated or created.
- POSync jobs queue and send as resources are available in Salesforce.
- Higher risk of sync failures.
- The POSync trigger initiates even if the mode is not set to this option. The trigger checks for available resources and will report CPU max errors. CPU errors are almost always a result of a bad trigger/flow/process builder. Cloudingo is generally never the culprit with these errors (custom object merge is an exception).
- Polling (Server-to-Server)
- Cloudingo uses a polling method (Server-to-Server communication) to check for data.
- Cloudingo asks Salesforce what data has changed since the last sync and pulls back the record IDs accordingly.
- Syncs typically run in hourly increments. In some cases, the Cloudingo Support Team can increase or decrease the frequency upon request.
- POSync jobs are not used, but POSync triggers will still report back errors detected (such as CPU max limit reached).
- Cloudingo uses a polling method (Server-to-Server communication) to check for data.
- Hybrid Sync
- This mode is a hybrid of the other two modes.
- Cloudingo uses POSync (real-time) automatically when there is low activity happening in the org.
- Cloudingo also uses a polling method (server-to-server communication) automatically to pick up record activity when there is higher activity happening in the org.
- This option also catches any sync failures that might occur with the agent POSync mode.
- Highest reliability.
- Results can take up to an hour for Cloudingo to report back but some results get reflected almost immediately.
- This is the default and recommended mode for all users.
- This mode is a hybrid of the other two modes.
CPU Errors
- Typically, CPU errors are due to a poorly constructed Process Builder flow (or a workflow/trigger) eating up CPU resources before Cloudingo can process the sync jobs or exiting the POSync trigger.
- Cloudingo looks for available resources before processing syncs. This causes the CPU error to reference 'POSync' in the message.
- Have your Salesforce Admin capture a debug log during the CPU error to determine which process is eating up the CPU resources.
Synchronization
- The ‘Salesforce Account’ (platform connection details) will show 'Synchronizing' when the sync process is currently running.
- If a 'Synchronizing' message on the main Dedupe dashboard does not clear out after some time, this can indicate that there is a connection issue that needs to be addressed. See troubleshooting steps to re-authenticate.
If re-connecting does not resolve the error, please contact the Support Team.