Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Creating a Data Subset
  8. Performing a Data Masking Operation
  9. Data Masking Techniques and Parameters
  10. Data Generation
  11. Data Generation Techniques and Parameters
  12. Working with Test Data Warehouse
  13. Analyzing Test Data with Data Coverage
  14. Plans and Workflows
  15. Monitor
  16. Reports
  17. ilmcmd
  18. tdwcmd
  19. tdwquery
  20. Appendix A: Data Type Reference
  21. Appendix B: Data Type Reference for Test Data Warehouse
  22. Appendix C: Data Type Reference for Hadoop
  23. Appendix D: Glossary

Advanced Generation Rule Example

Advanced Generation Rule Example

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:
The New Generation Rule dialog box shows the input, variable, and output columns of an advanced rule. The Out_1 output column is selected and the output column properties are displayed.

0 COMMENTS

We’d like to hear from you!