Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

How to send only one address to the destination among multiple address which is stored in array object

Avatar

Level 1

Hi ,

I have a schema where Address is an array object field and stores multiple address types of address from source. ex : shipping , billing , home , office , mailing etc. for all of the address label is defined to identify which type of address it is. But I want to send only one address to the downstream destination which is shipping address. How should I achieve this.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ItyBala24  - There is a limitation of activating the array based attributes. You can now activate the array attributes only to file based destination (example - Amazon S3). We need to use the "array_to_string" function along with other array related function to manipulate the array attributes in calculated fields before you activate. 

if it is file based then you can utilize "filterArray" function to filter your array value and export it accordingly. 

Please refer here for the documentation on the same. 

Thank you,
Jayakrishnaa P.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @ItyBala24  - There is a limitation of activating the array based attributes. You can now activate the array attributes only to file based destination (example - Amazon S3). We need to use the "array_to_string" function along with other array related function to manipulate the array attributes in calculated fields before you activate. 

if it is file based then you can utilize "filterArray" function to filter your array value and export it accordingly. 

Please refer here for the documentation on the same. 

Thank you,
Jayakrishnaa P.