Custom Actions and arrays | Adobe Higher Education
Skip to main content
Level 2
May 6, 2025
Répondu

Custom Actions and arrays

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 @2821738{PropertyTaxEMV2ArraEvent._gmfinancial.campaignArrayDS.at(2).accountNumber})

Meilleure réponse par Mohan_Dugganab

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-advanced-conditions-journeys/main-functions-journey/list/functionserializelist 

 

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-action-integration/td-p/649244 

1 commentaire

Mohan_Dugganab
Adobe Employee
Adobe Employee
May 6, 2025

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-advanced-conditions-journeys/main-functions-journey/list/functionserializelist 

 

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-action-integration/td-p/649244