Omni-ts.com - Documentation and Knowledgebase
Search:     Advanced search

Salesforce: App.Setting to adjust Riva query retrieve size limit

Article ID: 537
Last updated: 04 Jan, 2012
Views: 173

During periods of high levels of data sync between Salesforce and Exchange, Riva may display a REQUEST_LIMIT_EXCEEDED error.  This indicates that the maximum number of API calls for that user for the current 24 hour period has been exceeded.  See Salesforce: Connection to CRM Server failed: REQUEST_LIMIT_EXCEEDED for more details.

Riva will normally return 500 items per API call when Riva performs a query to Salesforce for data.  For example: If Riva has to initialize a new target user, it must query Salesforce for all of the contacts for the organization and Salesforce will return those results in batches of 500 contacts per API call.  If there are 2640 contacts in Salesforce, Riva will consume six API calls.

Apply the App.Setting

Riva now offers an App.Setting that can be used to adjust the query results per API call.

To Manage - Create or modify the app.setting file "Omni.Riva.CrmAgentEx.exe.config" to include the following key and value:

Salesforce.BatchSize = "500" (default value)

Increase the value to decrease the number of API calls consumed by Riva while performing large data query operations, especially when adding new target users or performing re-initialization synchronizations.

Applies to

  • Riva CRM Integration for Exchange
  • Riva release 2.4.25+

Also read
document Salesforce: Connection to CRM Server failed: REQUEST_LIMIT_EXCEEDED
document How to create an App.Setting file to enable advanced options
document Re-initialization Options for Exchange Sync Policies
document Configure a Sync Policy for Exchange

Also listed in
folder Riva CRM Integration Server -> Riva Server Knowledge Base -> CRM Systems -> Salesforce.com -> Errors & Troubleshooting

Prev   Next
Advanced Option to define the default RecordType when creating...     Making Attachments Visible on an Email in Salesforce