Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Creating an Expression Transformation

Creating an Expression Transformation

Use the following procedure to create an Expression transformation:
  1. In the Mapping Designer, open a mapping.
  2. Click Transformation > Create. Select Expression transformation.
  3. Enter a name and click Done.
  4. Select and drag the ports from the source qualifier or other transformations to add to the Expression transformation.
    You can also open the transformation and create ports manually.
  5. Double-click on the title bar and click on Ports tab. You can create output and variable ports within the transformation.
  6. Assign the port datatype, precision, and scale to match the expression return value.
  7. In the Expression section of an output or variable port, open the Expression Editor.
  8. Enter an expression.
  9. Click Validate to verify the expression syntax.
  10. To reflect the latest changes from the expression condition in the test expression section in the right pane, click Refresh.
  11. In the right pane, enter sample values for the input ports used within the expression.
  12. To evaluate the expression, click Evaluate.
  13. Click OK.
  14. Create reusable transformations on the Transformation tab.
    After you make the transformation reusable, you cannot copy ports from the source qualifier or other transformations. You
    can
    create ports manually within the transformation.
  15. Configure the tracing level on the Properties tab.
  16. Add metadata extensions on the Metadata Extensions tab.
  17. Click OK.
  18. Connect the output ports to a downstream transformation or target.

0 COMMENTS

We’d like to hear from you!