Write Data(Insert) (deprecated)
Operation Name
Write Data(Insert)
Function Overview
This operation is to add data using the SOAP API create() call.
You can retrieve the results of each record corresponding to the input data from the output schema.
For details about the API specification used in this operation, refer to the API documentation of the selected version in the connection resource from the following link destination page.
-
"Salesforce Developer Documentation"-(https://developer.salesforce.com/docs)
-
SOAP API Developer's Guide
-
Data Model
The data model of this component is table model type.
Properties
For details on use of variables, refer to Variables.
Basic Settings
Item name |
Required/Optional |
Use of Variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not Available |
Enter a name that is used on the script canvas. |
|
Input Data |
Required |
Not Available |
Select a component on the script canvas. |
|
Required Settings
Item name |
Required/Optional |
Use of Variables |
Description |
Remarks |
---|---|---|---|---|
Destination |
Required |
Not Available |
Select a connection resource.
|
|
Table Name |
Required |
Not Available |
Select the name of a table in Salesforce. |
|
Sort |
Required |
Not Available |
Sorts the list of items by the selected method.
|
|
Item list |
Required |
- |
Displays the item list of the table on Salesforce selected in Table Name. |
Only the items that can be added are displayed. |
Item list/Check |
Optional |
Not Available |
Select the checkboxes for the columns that you want to select as Schema definition. |
|
Item list/Label |
Required |
Not Available |
Displays the label name of the column of the table selected in Table Name. |
|
Item list/API |
Required |
Not Available |
Displays the API name of the column of the table selected in Table Name. |
|
Item list/Type |
Required |
Not Available |
Displays the data type of the column of the table selected in Table Name. |
|
Item list/External ID |
- |
- |
Displays the external ID setting.
|
|
Item list/Insertable |
- |
- |
Displays the settings for item insertion.
|
|
Item list/Updatable |
- |
- |
Displays the settings for item updates.
|
|
Item list/Null allow |
- |
- |
Displays whether to allow setting of a null value.
|
|
Schema definition |
Required |
- |
Displays a list of columns for the table selected as the schema definition. |
|
Schema definition/Check |
Optional |
Not Available |
Carries over and displays the setting of the checkbox for Item list/Check. |
|
Schema definition/Label |
Required |
Not Available |
Displays the label names of the columns for the table selected as the schema definition. |
|
Schema definition/API |
Required |
Not Available |
Displays the API names of the columns for the table selected as the schema definition. |
|
Schema definition/Type |
Required |
Not Available |
Displays the data types of the columns for the table selected as the schema definition. |
|
Schema definition/External ID |
- |
- |
Displays the external ID setting.
|
|
Schema definition/Insertable |
- |
- |
Displays the settings for item insertion.
|
|
Schema definition/Updatable |
- |
- |
Displays the settings for item updates.
|
|
Schema definition/Null allow |
- |
- |
Displays whether to allow setting of a null value.
|
|
Schema definition(External ID) |
Optional |
- |
In the case that relationship items exist in the Schema Definition, set items subject to updating by external key. By selecting the external key item of the relation counterpart object, it becomes possible to pass data with an established relationship. |
Note
Available on API 14.0 or later versions, and cannot be used on API 7.0. |
Schema definition(External ID)/Source item API |
Required |
Not Available |
Display the API Name of the row of the relation item of the table specified in Table Name. |
|
Schema definition(External ID)/Relationship name |
Required |
Not Available |
Display the relationship name of the row of the relation item of the table specified in Table Name. |
|
Schema definition(External ID)/Object API |
Optional |
Not Available |
Select the API Name of the relation counterpart object in the relation item column of the table specified in Table Name. |
|
Schema definition(External ID)/Item API for relations |
Optional |
Not Available |
Select the external key item of the relation counterpart object in the relation item column of the table specified in Table Name. |
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Select |
Set items selected in the List item/Check column in Schema definition. |
|
Option Settings
Item name |
Required/Optional |
Use of Variables |
Description |
Remarks |
---|---|---|---|---|
Column name type |
Required |
Not Available |
Select the display type of the column name, for displaying the schema in mapping.
|
|
Batch size |
Required |
Available |
Specify a batch size for performing the write data operation on Salesforce. |
Note
According to the Salesforce connector specifications, if you set a batch size to 200 when writing 10,000 records, the write operation is performed in 50 installments. |
Whether or not to get result per rows |
Required |
Not Available |
Specify whether or not to obtain results, after writing to Salesforce.
|
|
Comment
Item name |
Required/Optional |
Use of Variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not Available |
You can write a short description of this connector. |
|
The number of columns varies depending on the Schema definition settings.
For schema structure, refer to Table model type .
Information regarding the results of insertion will appear in the column, set in the Schema definition.
(Hereafter shown as "Label/API")
<?xml version="1.0" encoding="UTF-8" ?> <table> <row> <column>Label/API set in the Schema definition</column> : <column>InsertResult_ID/insert_result_id</column> <column>InsertResult_SuccessFlag/insert_result_is_success</column> <column>InsertResult_ErrorStatusCode/insert_result_error_status_code</column> <column>InsertResult_ErrorMessage/insert_result_error_message</column> <column>InsertResult_RowNumber/insert_result_row_number</column> </row> <row> : </row> </table>
Element Name |
Column Name(Label/API) |
Description |
Remarks |
---|---|---|---|
row |
|
Repeats as many times as the number of data given to the input schema. |
Note
If mismatch data exist, such as that data types do not match, the order of input data and output data will not necessarily match. By specifying InsertResult_RowNumber/insert_result_row_number as the order condition, the data can be sorted in accordance to the input data in the subsequent Mapper. |
column |
InsertResult_ID/insert_result_id |
Salesforce ID is output. |
|
InsertResult_SuccessFlag/insert_result_is_success |
Success Flag is output.
|
|
|
InsertResult_ErrorStatusCode/insert_result_error_status_code |
The status code, returned by the Salesforce API, is output. |
|
|
InsertResult_ErrorMessage/insert_result_error_message |
The message returned by the Salesforce API is output. |
||
InsertResult_RowNumber/insert_result_row_number |
Number is output based on the placement of the node within the data given to the input schema. |
|
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing isn't supported.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available Component variables
Component Variable Name |
Description |
Remarks |
---|---|---|
insert_count |
The number of data that was successful in the addition processing is stored. |
|
error_count |
The number of data that was unsuccessful in the addition processing is stored. |
|
read_count |
The number of input data is stored. |
|
server_url |
The end point URL after Login is stored. |
|
session_id |
The session Id is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity 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 |
When an error occurs, the error message is stored. |
|
operation_error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Error message |
Limitations |
---|---|---|---|
Messages and limitations of the Salesforce(deprecated) connector |