Salesforce Retrieve All
The Salesforce Retrieve All activity retrieves one or more individual objects based on the specified object IDs from the database of your organization.
In the General tab, you can establish a connection to the Salesforce.com server.
The following table lists the configurations in the General tab of the Salesforce Retrieve All activity:
In the Description tab, you can enter a short description for the Salesforce Retrieve All activity.
In the Input tab, you can specify input values for the Salesforce Retrieve All activity.
The following table lists the input elements in the Input tab of the Salesforce Retrieve All activity:
|Input Items||Data Type||Description|
|connectionInfo (All fields in this section are optional.)|
|serverUrl||String||The web address of the endpoint that is used by this operation.|
|sessionId||String||The unique ID associated with this session.|
|externalSessionIdUsed||Boolean||Specifies whether an external session ID is used (true) or not (false).
If the value set to true, an external session ID is filled in the sessionId field.
In this case, when the session has to be refreshed, the refreshed operation cannot be performed, and an exception is thrown.
|batchSize||Integer||Optional. When processing large amounts of data, the activity internally invokes several SOAP calls. This field is used to set the batch size for the number of records returned through an SOAP call.
The value must be set between 200 and 2000. The default value is 500.
If the input value equals -1, it is set to the default value. If the input value is greater than 2000, it is set to 2000. If the input value is less than 200 (except -1), it is set to 200.
retrieveMain includes the following elements:
|_configData||Each _configData includes the following element:|
headers includes the following elements:
SubsetSetting includes the following elements:
In the Output tab, you can find the output value.
The following table lists the output elements in the Output tab of the Salesforce Retrieve All activity:
|Output Item||Data Type||Description|
|result||Complex||An array of sObjects representing individual objects of the specified object and containing data defined in the
fieldlist specified in the
Those sObjects can be converted to the specified type defined in the metadata schema, for example, the Salesforce_Metadata, retrieved from the Salesforce.com server.
|lastSubset||Boolean||Indicates whether the current output is the last subset (true) or not (false).|
In the Fault tab, you can find the error code and error message of the Salesforce Retrieve All activity. See TIBCO ActiveMatrix BusinessWorks Error Code for more information about error codes and corrective actions to take.
|SalesforceExecuteSOAPMethodException||An error occurred when calling an SOAP method.
For example, wrong values are set in the Input fields or the Salesforce session has timed out.
|SalesforceLoginException||An error occurred when logging in to the Salesforce.com server.|
|SalesforceConnectionNotFoundException||An error occurred when the external session ID is not used or the Salesforce connection is not configured correctly.|