Salesforce Get Session
The Salesforce Get Session activity retrieves an object reference for a specified Salesforce connection and gets an existing session. This session can be used within Salesforce activities to access a specified database.
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 Get Session activity:
In the Description tab, you can enter a short description for the Salesforce Get Session activity.
In the Input tab, you can specify input values for the Salesforce Get Session activity.
The following table lists the input elements in the Input tab of the Salesforce Get Session activity:
|Input Item||Data Type||Description|
|salesforceConnection||String||Optional. The path to the shared resource which contains the Salesforce connection information.
The priority of this field is higher than the Salesforce Connection field in the General tab. If you want to change the referenced Salesforce Connection shared resource at run time, you can set it here.
|refreshSession||Boolean||Optional. Specify whether a new session can be initiated.
Set the value to true if you always want to get a new session.
If the value is set to false, the new session is not used unless the existing session has timed out. The performance time in this situation is shorter.
In the Output tab, you can find the output value.
The following table lists the output elements in the Output tab of the Salesforce Get Session activity:
In the Fault tab, you can find the error code and error message of the Salesforce Get Session activity. See TIBCO ActiveMatrix BusinessWorks Error Code for more information about error codes and corrective actions to take.