Mapping elements from a complex array | Community
Skip to main content
Eric_D_Miller
Level 5
May 29, 2026
Question

Mapping elements from a complex array

  • May 29, 2026
  • 1 reply
  • 48 views

Hello,

 

Hopefully a simple question but I am curious the most efficient way to make the elements from a collection within an array ‘mappable’.

 

Say I have an array such as this:
 

What is the most efficient way to map specific elements in a collection? Additionally, in a collection number that I also specify (in this case, #1).
 

I am looking to filter later in the scenario based on these fields.

 

 

1 reply

ninoskuflic
Level 5
May 29, 2026

Hi, are you trying to get a specific value that is under an array (Sorted Updates) e.g. a “noteText”? If yes, you can try to do something like this:

This will get you the array position you specifcy, enter the collection and extract the value. Was this something you were looking for? 😄

If this solved your issue, please mark it as solved so others can find the solution faster.
Eric_D_Miller
Level 5
June 8, 2026

Hello! What I am specifically trying to do it post a new Update on a Project. But before I decide if the new update is a Reply or a New Thread I need to search for every Update/Note on the Project first.

I can search the project for these notes, and get them aggregated into an array. My challenge now is within that array, if one of the notes contains certain html text, then I need the new note to be posted as a reply to that thread. Otherwise I need the new update to be posted as a new thread.

What best advice can you give me to search an entire array for a bundle with specific credentials, and to return a ‘null’ value if nothing is found?

 

Thank you!