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

Custom Actions and arrays

Avatar

Level 2

We have a custom action that is targeting an event array. The event has multiple accounts within it.

For the custom action is it possible to have it post the entire array instead on single objects. i.e. post all the info about account and post all of the info about account two at the same time.

Whenever I try to aloter the experience and bring in the context fields it requires me to select "at(0)" (ex @Event{PropertyTaxEMV2ArraEvent._gmfinancial.campaignArrayDS.at(2).accountNumber})

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You can explore using serializeList function and examples are documented in this link https://experienceleague.adobe.com/en/docs/journey-optimizer/using/orchestrate-journeys/building-adv... 

 

Kindly make sure the custom action parameter accepting the output of serializeList() is mapped as listString https://experienceleaguecommunities.adobe.com/t5/journey-optimizer-questions/ajo-to-sfmc-custom-acti... 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

You can explore using serializeList function and examples are documented in this link https://experienceleague.adobe.com/en/docs/journey-optimizer/using/orchestrate-journeys/building-adv... 

 

Kindly make sure the custom action parameter accepting the output of serializeList() is mapped as listString https://experienceleaguecommunities.adobe.com/t5/journey-optimizer-questions/ajo-to-sfmc-custom-acti...