Loading

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

發佈日期: Aug 5, 2026
描述

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.

解決方案

Upgrade DataWeave Code so it accepts both null and empty array

其他資源
知識文章編號

005390593

 
正在載入
Salesforce Help | Article