With the batch operation mode, you send medium-size data from SAP-PO to Skyvva, where the processing takes place in the background using the Salesforce background job. You have on the Skyvva side the batch control board to maintain the batch processing.
As the operation integrate your old interfaces can be built by using the V2 or V3 connector module with the soap adapter. Therefore we have a similar way to replace the V2 and V3 soap module with the V2 and V3 rest connector modules.
Again here, you don’t need to migrate the ESR object. You need only to make the configuration changes of the Directory object and replace the soap with the rest receiver adapter.
Here is an example of the rest receiver channel.
The parameters used here have been described already in the section with the operation “Integrate XX”. Those parameters such as “AppVersion” are not described in this chapter. We described the parameter related to the mode batch.
Here is an example of the rest receiver channel for using the operation “Skyvva Batch”.
Set the parameter “AuthenticationServerURL” to the token URL of Salesforce. For the sandbox instance, the token server URL is
“https://test.salesforce.com/services/oauth2/token”. For the production and development environment, the URL is “https://login.salesforce.com/services/oauth2/token”. You must set the operation using the parameter “Operation” to “Skyvva Batch”.
Set again the consumer-key and consumer-secret was taken from the connected app into the parameter “ConsumerKey” and “ConsumerSecret”. Set the username and password using the parameters “SforceUsername” and “pwdSforceLoginPassword”. Note that you have to concatenate the password and security token of the user to a single string and put it to the parameter “pwdSforceLoginPassword”.
For the package size handling with the batch mode, you must use the parameter “BatchPackageSize”. Based on the Skyvva App version, there is two way to set the package size for the batch mode. You can set in the module parameter as shown in the screenshot above or on the Skyvva interface. Till version 2.48 you cannot set the package size on the Skyvva interface. From version 2.49 you can set the package size on the interface. The field package size is first available in version 2.49.
Here is an example of how to set the package size on the interface in version 2.49.
If you are using version 2.49, you have two possibilities to set the package size but only one when your Skyvva App version is below 2.49. For all versions below 2.49, you can only set the package size on the module parameter.
After creating the rest receiver channel with the new Skyvva connector module use it in your configuration and replace the old soap receiver channel.
5.1 V2 Interface #
You use the module “Skyvva/V2/RestIntegration” here. Note that the OAuth configuration is the same as you have seen for the operation “Integrate XX” and is not repeated here.
Here is an example of the V2 module.
5.2 V3 Interface #
You use the module “Skyvva/V3/RestIntegration” here. Note that the OAuth configuration is the same as you have seen for the operation “Integrate XX” and is not repeated here.
Here is an example of the V3 module.