Expand my Community achievements bar.

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 Reply

Avatar

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...