How to send only one address to the destination among multiple address which is stored in array object | Community
Skip to main content
February 24, 2025
Solved

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

  • February 24, 2025
  • 1 reply
  • 446 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by jayakrishnaaparthasarathy

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.

1 reply

jayakrishnaaparthasarathy
Community Advisor
jayakrishnaaparthasarathyCommunity AdvisorAccepted solution
Community Advisor
February 24, 2025

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.