Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Get all the keys and values from an array or collection in WF Fusion

Avatar

Level 1

How to get all the keys and values from an array or collection in WF fusion to form a string?

 

let's say below is a collection coming from previous module:

  • definition (Collection)
    • plannedStartDate:$$TODAYby
    • plannedStartDate_Mod:between
    • plannedStartDate_Range:$$TODAYey
    • portfolioID
    • portfolioID_Mod:notblank

 

I want to form a string like this:
  • portfolioID_Mod:notblank,plannedStartDate_Mod:between,portfolioID

 

Any help will be appreciated.

Thanks

2 Replies

Avatar

Community Advisor

You could do something like this.

 

1. In an iterator module, put keys({your collection})

2. Add a text aggregator, linked to the iterator. For text, put {value from iterator}:get({definition};{value from iterator}, then click advanced, set seperator as a comma.

Avatar

Level 1

Hi!

 

What do you mean by "{definition}" in this scenario?