Home / 

Omit any field in Mappings based on a conditionMarch 27, 2023

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.
Omitting an object


Have an idea for something we could improve? Page not clear? We love feedback - send us a message.


Build EDI integrations fast, without being an EDI expert

Start building
  1. Twitter
  2. GitHub
Backed by
AdditionBloomberg BetaFirst RoundStripeUSV
Customer AgreementService TermsPrivacy Notice

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.