Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Access Policy transformation
  6. B2B transformation
  7. Aggregator transformation
  8. Cleanse transformation
  9. Data Masking transformation
  10. Data Services transformation
  11. Deduplicate transformation
  12. Expression transformation
  13. Filter transformation
  14. Hierarchy Builder transformation
  15. Hierarchy Parser transformation
  16. Hierarchy Processor transformation
  17. Input transformation
  18. Java transformation
  19. Java transformation API reference
  20. Joiner transformation
  21. Labeler transformation
  22. Lookup transformation
  23. Machine Learning transformation
  24. Mapplet transformation
  25. Normalizer transformation
  26. Output transformation
  27. Parse transformation
  28. Python transformation
  29. Rank transformation
  30. Router transformation
  31. Rule Specification transformation
  32. Sequence Generator transformation
  33. Sorter transformation
  34. SQL transformation
  35. Structure Parser transformation
  36. Transaction Control transformation
  37. Union transformation
  38. Velocity transformation
  39. Verifier transformation
  40. Web Services transformation

Transformations

Transformations

Velocity transformation input format

Velocity transformation input format

You configure the format of the incoming data on the
Input Format
tab. Configure input format properties such as the input field and type, the format of the data that you want to convert, and the variable name that refers to the data in the template. If the data to be converted is binary data or is in a file, you also select the code page.
The following table describes the file input format properties:
Property
Description
Input Field
Field in the upstream transformation that contains the input for the Velocity transformation. The field that you select must contain either the data to be converted or the file path and name of the flat file that contains the data.
Since the input to the transformation must be character or binary data, this field displays only string, text, and binary fields from the upstream transformation.
Input Type
Type of data in the selected input field. Select one of the following input types:
  • Buffer. Select this option when the input field contains the data that you want to convert such as a JSON BLOB or XML string.
  • File. Select this option when the input field contains the path to a flat file that contains the data to be converted.
Format Type
Format type of the data that you want to process, either JSON or XML.
Variable Name in Template
The variable that you define in the template to refer to the data to be processed. Do not include a leading dollar sign or other special character.
For example, in the following template, the variable name "root" is used to refer to the data to be processed:
<xml> #foreach ($child in $root.getRootElement().getChildren() ) <$child.getChild("name").getText()> <id>$child.getChild("id").getText()</id> <size>$child.getChild("size").getText()</size> </$child.getChild("name").getText()> #end </xml>
The following table describes the file input format advanced property:
Property
Description
Code Page
Code page of the data that you want to convert. This field is enabled if the input type is File or if the input field contains binary data.
Select a code page if the code page of the data that you want to convert differs from the code page of the Secure Agent machine. Otherwise, select
Default
.

0 COMMENTS

We’d like to hear from you!