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.
|
|
| SOQL | Required | Available | Enter SOQL. |
For syntax details, please refer to the Salesforce API documents.
|
| Schema definition | Required | - | Sets the schema from the results of the SOQL. Rows of each combination can be manipulated with the below mentioned buttons.
|
|
| Schema definition/Schema name | Required | Available | Input the schema name that is to be obtained from the SOQL response. Usually this will be a field name specified in the SELECT clause. |
|
| Schema definition/Child relationship name | Optional | Available | When the schema includes a parent-child relationship, input the relationship name. |
|
| Schema definition/Type | Required | Not Available | Select a data type. |
|
| Item name | Description | Supplement |
|---|---|---|
| Extraction test | A query is performed, based on the specified schema and search conditions. The number of results obtained will be displayed. |
|
| Execute SOQL to set schema | Automatically reflect the results from response of executed SOQL. |
|
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Read records that have been deleted(queryAll) | Required | - | Specify whether or not to read the data that has been deleted from Salesforce. (If it is to be read, a reading, using the queryAll service, will take place.)
|
|
| Batch size | Required | Available | Enter the batch size for obtaining the data reading results from Salesforce. |
|
| Item name | Description | Supplement |
|---|---|---|
| Display Table Information... | You can check the table structure of the object you are operating. For more information on how to view the table structure, please refer to Display Table Information |
Click [Load All Table Information....] if you would like to check the table structure of other objects. |
| Load All Table Information... | Retrieve all possible table information After running, you can verify the retrieved information from [Table Information]. |
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Base64 field output form | Required | - | Specify the data output format of fields with data type Base64.
|
|
| Directory | Optional | Available | Input the directory to which to output. Click the [browse] button to open a directory selector to choose a directory. |
|
| Data Field | Optional | - | Enter the schema name of data type Base64 from the fields contained in the [schema definition]. |
|
How to set the File Name | Optional | - | Select how to input the output file name.
|
|
| File Name | Optional | Available | Specify the output file name. Enter the schema name when [How to set File Name] is set to [Select a field]. |
|
How to set an Additional String | Optional | - | Select the method to append characters to the output file name.
|
|
| Additional String | Optional | Available | Specify the appended string to be added to the output file name. Enter the schema name when [How to set an Additional String] is set to [Select a field]. |
|
Additional Position | Optional | - | Select the position of the string to be added to the output file name.
|
|
| Delimiter | Optional | Available | Input the delimiter between the output file name and the additional string. When a delimiter is not necessary you can leave it out. |
|
How to set an Extention | Optional | - | Select how to input the output file name extension.
|
|
| Extention | Optional | Available | Specify the extension of the output file name. Enter the schema name when [How to set an Extention] is set to [Select a field]. |
|
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Large Data Processing | Required | Not Available | Select a Large Data Processing Settings.
|
| 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 |
|---|---|---|
| count | The number of data read is stored. |
|
| object_name | The object name is stored. |
|
| 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. |
|
| Number in the Image | Name | Description | Supplement |
|---|---|---|---|
| (1) | Table Name | Select the table whose structure to be shown. | |
| (2) | Table Information | Display the available operations on the selected table. | |
| (3) | Length | Display the Number of Digit of item | |
| (4) | External ID | Display whether or not the object item is set as an external ID. | |
| (5) | Createble | Display whether or not it can be set a value when adding data. | |
| (6) | Updatable | Display whether or not it can be set a value when updating data. | |
| (7) | Nullable | Display whether or not it can be set NULL when adding or updating data. | |
| (8) | Default value | Display whether or not Salesforce automatically set a default value when adding data. | |
| (9) | Reference To | Display the referring object name if the item is in reference relationship or master-servant relationship. |
| 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 adapter. | Check the error message, and verify the settings. |
| com.sforce.soap.partner.fault.LoginFault | Login to Salesforce has failed. | Check the ExceptionCode or error message, and refer to the information about this type of error in Salesforce-related documents etc. |
| com.sforce.soap.partner.fault.InvalidFieldFault | The item included in the executed SOQL is invalid. | Please check the ExceptionCode or error message, and check for error information in documents related to Salesforce. |
| com.sforce.soap.partner.fault.MalformedQueryFault | The executed SOQL is invalid. | Please check the ExceptionCode or error message, and check for error information in documents related to Salesforce. |
| 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. |