You work for a sales department and you need to generate 100 records with 50 invoices and 50 orders. Create an advanced rule with an input column Ip_1 of string data type, a variable column Var_1, and an output column Out_1 of string data type.
Configure the conditional rule for the variable column and select a numeric sequence generation rule for the following two conditions:
Ip_1='Invoice-'
Ip_1='Order-'
To concatenate the input and variable columns to create an ID column, create an output column with the following expression:
CONCAT(Ip_1,Var_1)
Assign the advanced generation rule to a column, create a plan, and run the workflow. TDM concatenates the columns and provides 50 invoices with results Invoice-1, Invoice-2,...,Invoice-50, and 50 orders with results Order-1, Order-2, ..., and Order 50.
The following image shows the advanced rule parameters that you can configure: