Transform is used to orchestrate and convert the format of the data in
message. It can modify
||The configured payload.
||The configured attribute.
||The configured variable.
message output by the component is as detailed below:
payload is added to Output, the execution result in
payload will be output; otherwise, the
payload of the previous component will be inherited.
error will be empty if the flow is executed successfully.
error will be of
dict type and contain the
Description fields if the flow fails to be executed. The
Code field indicates the error type, and the
Description field indicates the error details.
||This attribute is of
dict type. If
attributes is added to Output, the execution result in
attributes will be output; otherwise, the
attribute of the previous component will be inherited.
variables is added to Output, the
variable of the previous component and the new
variable added in the Transform component will be output together; otherwise, the
variable of the previous component will be inherited.
Add and edit
attributes is of
dict type, the expression output also must be of
variables. Enter the name of the variable to be declared for Variable name.
- Add an expression and edit the variables.