Salesforce Delete All
The Salesforce Delete All activity deletes one or more individual objects from the database of your organization.
On the General tab, you can establish a connection to the Salesforce.com server.
The following table lists the configurations on the General tab of the Salesforce Delete All activity:
On the Description tab, you can enter a short description for the Salesforce Delete All activity.
On the Input tab, you can specify input values for the Salesforce Delete All activity.
The following table lists the input elements on the Input tab of the Salesforce Delete 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 is 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.
delete includes the following elements:
|delete_Optional (All fields in this section are optional.)|
_configData includes the following node:
headers includes the following elements:
On the Output tab, you can find the output value.
The following table lists the output elements on the Output tab of the Salesforce Delete All activity:
|Output Item||Data Type||Description|
|result||errors||Complex||If errors occur during the activity, an array of error objects with an error code and description, are returned.|
|id||String||The ID of an sObject that you attempted to delete.|
|success||Boolean||Indicates whether the delete activity has succeeded (true) or not (false).|
On the Fault tab, you can find the error code and error message of the Salesforce Delete 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 a 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.|