SK SKYVVA Documentation

5. Running in pure bulk and auto-switch mode

Bulk API allows you to load and export bigger batches and has features like parallel processing that helps with performance. On top of that, the Bulk API uses much less API calls than the Batch API when dealing with batches bigger than 5,000 records. On the other hand, related queries are not supported by the Bulk API. SKYVVA support SFDC Pure bulk mode in version 2.0. that is very fast. Shortcomings with the SFDC pure bulk mode are that  we cannot use the SKYVVA mapping tool to do business data mapping. On the other hand, SFDC Bulk requires the data has to be mapped already on the sender side and doing the additional mapping to enrich the business logic is not possible using SKYVVA mapping. This mode will work with both processing mode, Parallel and Serial, for version 1.0. Version 2.0, you can only use with Serial mode processing. There are two API in Pure bulk Version:

We should know some terms

interface.

In SFDC Bulk Mode user can create update, or delete a large volume of records with the Bulk API, which is optimized for processing large sets of data. It makes it simple to load, update, or delete data from a few thousand to millions of records.

Usecase Step1: We have to create an integration. Please refer to our tutorial to create integration.

Step2: We have to create an interface.

How to use  "Real SFDC bulk mode for SAP PI?"

To generate a WSDL file for some Interfaces, we have to follow the given steps:- Step 3:  We have to go to our created interface detail page. We can post data from SAP or Skyvva Agent into Skyvva/Salesforce with bulk mode: Bulk Version: -SFDC Bulk API 1.0

-SFDC Bulk API 2.0

Step 2:  We can see the result on the bulk control board after post data with Agent.

We can use the bulk version = SFDC Bulk API 1.0 the data will be posted into Salesforce database directly the SFDC Bulk API 1.0 is processed base on Bulk Processing Mode = Parallel and Serial. Default value is parallel.

With this case when user posts data from Agent successfully the user can see of transaction data processing in Bulk Data Load Jobs Note: SFDC Bulk API 1.0 process data with sObject Job Type= Bulk V1, For Data and Message object process with Job Type=Bulk V2 please see screenshot below

We can use bulk version = SFDC Bulk API 2.0 the data will be posted into Salesforce database directly the SFDC Bulk API 2.0 works with Bulk Processing Mode = Parallel only (no work with Serial) Please see the screen below after posted data from Agent

Message Monitoring All data call from Agent or other systems to the salesforce via SFDC Bulk API 1.0 and SFDC Bulk API 2.0 Always create the messages Pending, Failed, Completed,…….. Don’t Create Message Completed Because of the SFDC Bulk API feature can work with big data so we check the flag Don’t Created Message Completed = true mean that not allow all completed messages or Idatacreate into database

Auto-switch mode:

SKYVVA providing different data processing modes like immediately processing, Batch processing, Bulk processing modes. where Auto-Switch mode is a combination of all three modes. When data processing is in the auto-switch mode it means processing is based on the number of records and IntegrateMaxSize, IntegrateBatchMaxSize When the auto-switch mode flag is selected, It describes that Agent automatically switched to SKYVVA API which is based on the number of records and IntegrateMaxSize, IntegrateBatchMaxSize. And when the flag is unchecked it signifies that data is integrated with normal mode (no batch or bulk) no matter what is the size of records.

Usecase

Configuration

We click on the 'Account Interface' link and see the Interface Details and scroll down to Runtime Configuration-Inbound section then checkbox on Use Auto-Switch Mode.

Assuming you already have created interface since this part will be the focus on integrating from Agent as an example. To integrate from Agent, please run Agent-UI and more steps as following:

Go to SKYVVA Agent configure with your Salesforce Org. Which is obivious

Go to your Salesforce Org.

Go to Agent

Go back to your Salesforce Org. Go to Integration Detail page

Open this article in the interactive viewer →