Write Entity
Operation name
Write Entity
Function overview
Writes input data to entity.
Data model
The data model of this component is XML type and 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.
|
|
Authentication |
Required |
Not available |
Select a connection resource.
|
|
Resource path |
Required |
Available |
Select or enter the resource path. |
|
Get field display name |
Optional |
Not available |
Select whether or not to get field display names when updating Field definition.
|
|
Field definition |
Required |
- |
Displays the field definition of the entity specified in Resource path. |
|
Field definition/Write target |
Required |
Not available |
Select whether or not to include each field of the entity specified in Resource path in the target to write.
|
|
Field definition/Primary key |
Required |
Not available |
Displays whether Field name is the primary key.
|
|
Field definition/Field name |
Required |
Not available |
Displays the field name of the entity specified in Resource path. |
|
Field definition/Field display name |
Optional |
Not available |
Displays the field display name of the entity specified in Resource path. |
|
Field definition/Type |
Required |
Not available |
Displays the type of Field name. |
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Update entity set name list |
Get the entity set names from the specified Destination and set them in Resource path. |
|
Update field definition |
Get the field definition from the specified Destination and Resource path, and set it in Field definition. |
|
Key settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Key field of resource path |
Optional |
Not available |
Select the key field for the entity selected in Resource path. |
|
Associated key settings |
Optional |
- |
Displays the associated key settings of the entity specified in Resource path. |
|
Associated key settings/Entity field |
Optional |
Not available |
Displays the entity field of the entity specified in Resource path. |
|
Associated key settings/Associated entities |
Optional |
Not available |
Displays the associated entity set name of Entity field. |
|
Associated key settings/Associated key fields |
Optional |
Not available |
Displays the key field for the entity associated to Entity field. |
|
Entity field |
Optional |
Not available |
Select Associated key fields of Associated key settings and the Entity field of the same row to be changed. |
|
Associated key fields |
Optional |
Not available |
Select the key field for the entity selected in Entity field. |
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Get key information |
Get the key information from the specified Destination and Resource path, and set it to the following properties:
|
|
Update associated key settings |
Update Associated key fields of Associated key settings with the value selected in Associated key fields. Select the target entity field in Entity field. |
|
Option settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Skip entities which the system failed to process |
Optional |
Not available |
Select whether or not to skip entities which the system failed to process and continue processing.
|
|
Processing method when the key is specified |
Required |
Not available |
Select the processing method when the key is specified.
|
|
Data processing method
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Data processing method |
Required |
Not available |
Select a data processing method.
|
|
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
For more details on schema used by this connector, refer to Schemas.
Output schema
<?xml version="1.0" encoding="UTF-8" ?> <table> <row> <column>uri</column> <column>action</column> <column>target</column> <column>status_code</column> <column>message</column> <column>error_type</column> </row> <row> : </row> </table>
Element name |
Column name/Label |
Description |
Remarks |
---|---|---|---|
row |
- |
Repeats for the number of the entities to be written. |
|
column |
uri |
The URI which distinguishes operation targets uniquely. |
|
action |
Outputs the operation method. |
Note
When the operation is to relate the entities, it will be "update" even if it's new relation. |
|
target |
Outputs the type of operation target. |
Note
When all of the following conditions are satisfied, the relation row won't be output.
|
|
status_code |
Outputs the HTTP status code for the operation. |
|
|
message |
Outputs the operation message. |
|
|
error_type |
When an error occurs, stores the error type. |
|
For schema structure, refer to Table model type .
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing is supported.Transaction
Transaction isn't supported.Parallel Stream Processing
PSP isn't supported.Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of read data records is stored. |
|
insert_count |
The number of entities which are newly created is stored. |
|
update_count |
The number of updated entities 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. |
|
Update of owner
To update the owner (ownerid), input "systemuser" or "team" in the type attribute.
For details, refer to Entity type (ownerid).
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|
Messages and limitations of the Dynamics 365 for Customer Engagement connector |