Expand my Community achievements bar.

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.
SOLVED

How to set an array containing one attribute from multiple bundles

Avatar

Level 2

Hi, I am still trying to wrap my head around the way fusion handles variable creation namely arrays (coming from NodeJS).

I am fetching all documents from one issue, and for each document I am fetching the proof information for each version. I am only interested in checking the proofDecision of the last version of each document; I am trying to set a variable (an array) that would store the proofDecision of the last version of each document.

 

This is the scenario currently; my aim would be to have an array of collections with all the information from each operation/bundle in it.

Fusion.jpg

 

Any help would be appreciated.

 

Thanks in advance

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 7

Fusion (make.com) uses a pass-by-value mechanism.  As such, you need to create an array object inside a Set Variable using the {{emptyarray}} syntax before the iterator, then use a Get Variable inside the iterator followed by a Set Variable to "override" the variable with the appended array.

Screenshot 2025-04-04 at 7.40.14 AM.png

View solution in original post

2 Replies

Avatar

Correct answer by
Level 7

Fusion (make.com) uses a pass-by-value mechanism.  As such, you need to create an array object inside a Set Variable using the {{emptyarray}} syntax before the iterator, then use a Get Variable inside the iterator followed by a Set Variable to "override" the variable with the appended array.

Screenshot 2025-04-04 at 7.40.14 AM.png

Avatar

Level 2

Thank you so much for this concise and great explanation. I was able to get it to work as I wanted.