Question
I would like to create a process that does not reach the Salesforce governor limit on the number of processed records.
Is it possible to set the number of data records processed per API call in the Salesforce connector's Read Records operation?
Answer
In the Salesforce connector's Read Records operation, you can specify [Batch size] to set the maximum number of data records processed per API call.
e.g.
If the number of processed data records is "10,000" and [Batch size] is set to "2000", the data will be acquired in 5 API calls.
Therefore, if you want to adjust the number of data records processed per API call, change the value of [Batch size] in the property settings for the component.
The maximum and default value of [Batch Size] vary depending on the operation.
Please see the online help for each operation.
Supplementary information
If the [Batch size] is set to a smaller value, the number of API calls will increase, which might reach the limit of the number of API calls (number of API requests) in Salesforce.
Please adjust the [Batch size] based on the specifications and processing status in Salesforce.
References
Apex Governor Limits (Salesforce website)
https://developer.salesforce.com/docs/atlas.en-us.242.0.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_apexgov.htm
API Request Limits and Allocations (Salesforce website)
https://developer.salesforce.com/docs/atlas.en-us.242.0.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_api.htm
Comments
0 comments
Article is closed for comments.