transformationRule

Parent: legacyDataLoadDefinition

Applies whenskipValidation = false

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255

Property Groups:

  • execution
  • transformation
  • error
  • advanced
execution
PropertyTypeRequiredDefault ValueDetails
sequencenumberYesdata type=number; maxLen=22
Specify the sequence for the transformation rule. The sequence determines the order of evaluation.
execution {
  sequence: 42
}
transformation
PropertyTypeRequiredDefault ValueDetails
columnNamesarray of stringsYesdata type=string; maxLen=32767
typeenumYesdata type=string; lov=STATIC
Valid values: upperCase lowerCase replace trim leftTrim rightTrim singleWhitespace plsqlExpression plsqlFunctionBody sqlQuerySingleValue sqlQueryMultipleValues
trimenumYesbothdata type=string; lov=STATIC
Valid values: trailing leading both
Applies whentype = trim
findstringYesdata type=string; maxLen=4000
Applies whentype = replace
Specify the string that should be found in the column value.
replaceWithstringNodata type=string; maxLen=4000
Applies whentype = replace
Specify the string that should replace the string found in the column value.
plsqlExpressionmultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = plsqlExpression
sqlQuerymultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype in (sqlQuerySingleValue)type in (sqlQueryMultipleValues)
plsqlFunctionBodymultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = plsqlFunctionBody
trimCharsstringNodata type=string; maxLen=4000
Applies whentype in (leftTrim)type in (rightTrim)type in (trim)
transformation {
  columnNames: [
    value
    value
  ]
  type: upperCase
  trim: trailing
  find: value
  replaceWith: value
  plsqlExpression: ```plsql
    value
  ```
  sqlQuery: ```sql
    value
  ```
  plsqlFunctionBody: ```plsql
    value
  ```
  trimChars: value
}
error
PropertyTypeRequiredDefault ValueDetails
errorMessagemultiline stringNodata type=multiline string; maxLen=4000
Enter the text to be displayed if the transformation rule fails.
error {
  errorMessage: ```
    value
  ```
}
advanced
PropertyTypeRequiredDefault ValueDetails
staticIdstringYesdata type=string; maxLen=255
Static ID for this search configuration. The static ID is used when using the search configuration in a programmatic context, with the APEX_SEARCH package.
advanced {
  staticId: value
}

APEXlang Example

transformationRule sample (
    name: value
    execution {
        sequence: 42
    }
    transformation {
        columnNames: [
          value
          value
        ]
        type: upperCase
        trim: trailing
        find: value
        replaceWith: value
        plsqlExpression: ```plsql
          value
        ```
        sqlQuery: ```sql
          value
        ```
        plsqlFunctionBody: ```plsql
          value
        ```
        trimChars: value
    }
    error {
        errorMessage: ```
          value
        ```
    }
    advanced {
        staticId: value
    }
)