Delete Records
Operation name
Delete Records
Function overview
Deletes records based on object IDs.
This component uses "delete" for REST API.
To check technical details, go to salesforce.com and check the page for SOQL queries and other related pages in the REST API Developer 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. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Authentication settings |
Required |
Not available |
Select a connection resource (OAuth) to use for authentication.
|
|
Connection settings |
Required |
Not available |
Select a connection resource.
|
|
Object name |
Required |
Available |
Enter an object name. |
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Refresh object name list |
Object name is retrieved and the list is updated. |
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Schemas
Input schema
Element name |
Column name |
Description |
Remarks |
---|---|---|---|
row |
|
Repeats for the number of the entities to be deleted. |
|
column |
id |
Enter the record ID to delete. |
|
Output schema
It's table model type.
For schema structure, refer to Table model type .
<?xml version="1.0" encoding="UTF-8" ?> <table> <row> <column>row_number</column> <column>id</column> <column>success</column> <column>error_message</column> <column>error_code</column> <column>error_fields</column> </row> <row> : </row> </table>
Element name |
Column name |
Description |
Remarks |
---|---|---|---|
row |
|
Repeats for the number of the entities to be deleted. |
|
column |
row_number |
The row number is output. |
|
id |
The record ID is output when the record is deleted successfully. |
|
|
success |
The result of record deletion is output. |
|
|
error_message |
The message returned by Salesforce when an error occurs is output. |
|
|
error_code |
The error code returned by Salesforce when an error occurs is output. |
|
|
error_fields |
The error field list returned by Salesforce when an error occurs is output. |
|
Loading schema in Mapper
The schema is loaded automatically.
Specify the schema of the data to be loaded.
For details, refer to Edit Schema.
Mass data processing
Mass data processing is supported.
Parallel Stream Processing
PSP is supported.
For details on PSP, refer to Parallel Stream Processing.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of records that were deleted successfully is stored. |
|
error_count |
The number of records that failed to be deleted 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.
|
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|
None |