Custom Actions and arrays | Community
Skip to main content
Level 2
May 6, 2025
Solved

Custom Actions and arrays

  • May 6, 2025
  • 1 reply
  • 450 views

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})

Best answer by 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 reply

Mohan_Dugganab
Adobe Employee
Mohan_DugganabAdobe EmployeeAccepted solution
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