To use this operation, please select [Take over the session from outside] from Global resource's[Connection method at run-time]
This operation will be unnecessary if default setting [Authentication by setting of global resource] is selected; Authentication by login etc. will be done automatically.
With regarding to the API specification utilized by this operation, please refer to the version of the API document, selected for the Global Resource, in the below-mentioned link.
For information about using variables, refer to "variables".
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Name | Required | Not Available | Enter the name that appears on the script canvas. |
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Destination | Required | Not Available | Select Global Resources.
|
|
| Server URL | Required | Available | Specify tThe server URL that will be returned when logging into Salesforce. | |
| Session ID | Required | Available | Specify the session ID that will be returned when logging into Salesforce. |
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Comment | Optional | Not Available | You can write a short description of this adapter. The description will be reflected in the specifications. |
| Component Variable Name | Description | Supplement |
|---|---|---|
| server_url | The end point URL after Login is stored. |
|
| session_id | The session Id is stored. |
|
| message_category | In the case that an error occurs, the category of the message code corresponding to the error is stored. |
|
| message_code | In the case that an error occurs, the code of the message code corresponding to the error is stored. |
|
| message_level | In the case that an error occurs, the importance of the message code corresponding to the error is stored. |
|
| operation_api_exception_code | The ExceptionCode of the occured error, in a case of API error, is stored. |
|
| operation_error_message | If an error occurs, the error message of the occured error is stored. |
|
| operation_error_trace | When an error occurs, the trace information of the occured error is stored. |
|
| Exception Name | Reason | Resolution |
|---|---|---|
| ResourceNotFoundException Resource Definition is Not Found. Name:[] |
[Destination] is not specified. | Specify [Destination]. |
| ResourceNotFoundException Resource Definition is Not Found. Name:[<Global Resource Name>] |
The resource definition selected in [Destination] cannot be found. | Verify the global resource specified in [Destination] |
| java.net.UnknownHostException | This exception occurs when the PROXY server specified in the global resource cannot be found. | Verify the condition of the PROXY server. Or verify [Proxy Host] of the global resource specified in the [Destination]. |
| java.net.SocketTimeoutException connect timed out |
A time-out has occurred while connecting to Salesforce. | Verify the network condition and Salesforce server condition. Or check [Connection timeout(sec)] of the global resource specified in the [Destination]. |
| java.net.SocketTimeoutException Read timed out |
A time-out has occurred while waiting for a responce from the server after connecting to Salesforce. | Verify the network condition and Salesforce server condition. Or check [Timeout(sec)] of the global resource specified in the [Destination]. |
| jp.co.headsol.salesforce.adapter.exception.SalesforceAdapterIllegalArgumentException | Invalid value is set for the property of Salesforce Bulk adapter. | Check the error message, and verify the settings. |
| jp.co.headsol.salesforce.adapter.exception.SalesforceAdapterIllegalArgumentException
The login function by session ID is not valid. Please verify the global resource settings. |
Invalid value is set for the property of Salesforce Bulk adapter. | Please verify the settings of the global resource's [Connection method at run-time], specified in the [Destination]. |
| jp.co.headsol.salesforce.adapter.exception.SalesforceAdapterIllegalArgumentException
The URL[<Server URL>], configured for the server URL, does not fulfil the Salesforce's server URL validity. |
Invalid value is set for the property of Salesforce Bulk adapter. | Please verify the URL, specified for the [Server URL]. |
| com.sforce.soap.partner.fault.UnexpectedErrorFault | An unexpected error has occured while processing to Salesforce. | Check the ExceptionCode or error message, and refer to the information about this type of error in Salesforce-related documents etc. |