Skip to main content
The Transform By JDM command (Command Type: 1017) transforms the current data into a new object by applying JDM (JSON Decision Model) mapping rules. It supports optional state usage during transformation.

Overview

The Transform By JDM command provides functionality for:
  • Applying complex mapping rules defined in a JDM JSON object
  • Transforming input data into a completely different output structure
  • Optionally leveraging state from the execution context during transformation

Command Type

Command Type ID: 1017

Parameters

Usage Examples

Basic Field Mapping

Transform with State

JDM Structure

The jdm object follows the gorules/zen JSON Decision Model format — a graph of nodes and edges describing transformation logic. Refer to the gorules/zen documentation for the full JDM specification.

Common Use Cases

  • Complex Transformations: Apply non-trivial multi-field transformation logic in one step
  • Rule-Based Mapping: Use decision model rules to conditionally map data
  • State-Aware Transforms: Include execution state context in the transformation