The transformer processor can be used to add new fields to the entity set through expressions that allows for building fields from other fields and variables.
Use the + button to add a new row to the table and set the fields.
-
Name - The attribute name added to the entity set.
-
Datatype - The datatype must match the field data being created
-
Expression - An expression building the data the field will be set to
-
The expression supports Spring Expression Language - https://docs.spring.io/spring-framework/docs/5.0.0.M5/spring-framework-reference/html/expressions.html
-
To get an attribute from the current entity set, use getAttribute("attributeName")
-
Expressions support the Connect $__ variables.
-
Transformer fields are processed in order from top to bottom so newly created fields can be used in subsequent transformation fields. The up/down arrows can be used to re-order the fields
Example