1. Home
  2. Docs
  3. Mule Adapter
  4. 6. How to use the auto-switch mode to choose the right mode for data synchronization to Salesfroce?

6. How to use the auto-switch mode to choose the right mode for data synchronization to Salesfroce?

You can configure auto-switch in your skyvva interface. The same will be reflected automatically in your Mule application when you used Skyvva Mule connector.

It has been available with Integrate, Integrate Synchronous and Integrate Batch operations of the Mule Skyvva connector. It will internally use the correct way to store the data based on the data size and the configuration used for that interface. If it has high volume data then internally it will switch to Skyvva Bulk mode and update your data.

The below is a request payload for Integrate Synchronous operation with auto switch enabled and with Integrate_Max_Size__c as 2 and Integrate_Batch_Max_Size__c value as 5. The request send 7 records in the request. So it will use the Skyvva Bulk and create an Attachment object in the salesforce with ParentId value as the interface’s salesforce Id. Later Skyvva will use that to create the respective objects in salesforce.

The response from the above request will have the attachment object Id.

Was this article helpful to you? Yes No

How can we help?