Loading

DataWeave filterObject function fails After DynamoDB Connector Upgraded to 1.6.x from 1.5.x

Julkaisupäivä: Aug 5, 2026
Kuvaus

The DynamoDB Connector 1.6.x upgrade includes underlying AWS SDK for Java version upgrade( 1.11.x to 2.x). In AWS SDK v2,  AttributeValue field never return null for the collection-type fields. As a result:

  • Empty map attributes (M:{}) now surface as null in the m field instead of an empty object {}.
  • Empty string set / number set / list / binary set attributes (SSNSLBS) now surface as empty arrays [] instead of null.

DataWeave code that assumed the empty object {}or Null for empty array will fail.

Ratkaisu

Upgrade DataWeave Code so it accepts both null and empty array

Lisäresurssit
Knowledge-artikkelin numero

005390593

 
Ladataan
Salesforce Help | Article