Omit any field in Mappings based on a condition
Mar 27, 2023
EDI platform
While building a Stedi mapping
, you often need to omit a specific field based on the data in the incoming source document. For example, you may need to omit a delivery address object completely if the purchase order has not been confirmed yet. Now, you can use the $omitField constant
to omit both primitive fields and entire objects.Previously, Mappings UI only allowed using the $omitField for primitive fields (fields that map to strings, numbers, and booleans).You can now use $omitField to exclude an entire object or an array based on a condition. Mappings now recognizes $omitField within list context expressions
. In addition, every object field has a new optional object context input
with built-in support for $omitField.

