Skip to main content

Inline Transformer

The Inline Transformer task performs in-memory transformation using one of the built-in operations.

Operations

The Inline Transformer supports the following operations.

FunctionDescription
JSON MergeReturns new JSON object by merging the top-level properties from Right Operand (object) into Left Operand (Object). Properties in Right operand will overwrite any existing values in Left Operand
JSON FormatReturns new JSON object using Templated Input
Array AppendAdds Right Operand (object) as new item to Left Operand (array) and returns as new JSON array
Array MergeAdds items in Right Operand (array) as new items in Left Operand (array) and returns as new JSON array
CompressCompresses content stored in Operand (object / text) using gzip algorithm and returns a Base64 encoded string
UncompressExpects a Base64-encoded string in Operand (text) and expands it using gzip algorithm. Returns the uncompressed result (Object / text)
Parse CSVConvert CSV content (variable or template) into JSON.

Configuration

Inline Transformer Task Options
Inline Transformer Task Configuration
ConfigurationDescription
OperationSelect Operation from list above
Save to StateToggle. The result of transformation is returned as task output, but you can optionally save this to Execution State. That way you can run this in a loop and concatenate all the outputs together
State Property NameText. Property in Execution.State where the transformation output will be stored.
Operand(s)Templated Input. See operation definitions for number of input operands to your function.

Task Output

Inline Transformer produces the following Task Output that can be used as Variable Input in your subsequent tasks.

Output VariablesDataTypeDescription
OutputJsonOperation output