Skip to main content
New Member
Jun 7, 2024 2:40 PM UTC
Question

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

ChrisStephens
Community Advisor
Community Advisor
Jun 14, 2024 1:34 AM UTC

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.

Translate
New Member
Aug 21, 2024 5:06 PM UTC

Hi!

 

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

Translate