diff --git a/symmetric/symmetric-assemble/src/docbook/configuration.xml b/symmetric/symmetric-assemble/src/docbook/configuration.xml index 8a038f7b71..6f958b6761 100644 --- a/symmetric/symmetric-assemble/src/docbook/configuration.xml +++ b/symmetric/symmetric-assemble/src/docbook/configuration.xml @@ -1016,6 +1016,10 @@ insert into sym_trigger_router (TRIGGER_ID,ROUTER_ID,INITIAL_LOAD_ORDER, Constant Transform ('const'): This transformation type allows you to map a constant value to the given target column. The constant itself is placed in transform_expression. + + Variable Transform ('variable'): This transformation type allows you to map a built-in variable to the given target column. The variable name is placed in transform_expression. + The following variables are available: current_timestamp is the current system timestamp. + Additive Transform ('additive'): This transformation type is used for numeric data. It computes the change between the old and new values on the source and then adds (or subtracts) the value from the existing value in the target column. For example, if the source column changed from a 2 to a 4, and the target @@ -1033,6 +1037,10 @@ insert into sym_trigger_router (TRIGGER_ID,ROUTER_ID,INITIAL_LOAD_ORDER, Bean Shell Transform ('bsh'): This transformation allows you to provide a Bean Shell script in transform_expression and executes the script at the time of transformation. + Some variables are provided to the script: COLUMN_NAME is a variable for a source column in the row, where the variable name is the column name in uppercase; + currentValue is the value of the current source column; + oldValue is the old value of the source column for an updated row; + jdbcTemplate is a Spring JdbcTemplate object for querying or updating the database.