Expand my Community achievements bar.

SOLVED

Combine separate bundles from an iterator into a single bundle.

Avatar

Level 3

Hello, Hoping someone can assist.

I need to compile field-level data from multiple tasks and add it to a CSV file. The issue I’m facing is that the data is arriving in separate bundles, whereas I need it in a single bundle to correctly position the fields in the CSV, ensuring they appear in the right order and row.

Does anyone know of a way to merge separate bundles into a single, easily manageable data set?

 

Donna_Boj_0-1747388156010.png

Donna_Boj_1-1747388228733.png


Any suggestions would be very welcome!

 

1 Accepted Solution

Avatar

Correct answer by
Level 3

I have managed to solve my issue a different way, that works:

Donna_Boj_1-1747734892384.png

Donna_Boj_2-1747734995960.png

 

 



Donna_Boj_0-1747734858956.png

I iterated on an admin only field to ensure the custom form text comes through in the order I want to avoid the bundles going out of order.
Then I format the text in the columns I need then Aggregate on that text again to add the column headers.
This has given me the result I needed for my CSV.

View solution in original post

5 Replies

Avatar

Level 9

Hello @Donna_Boj, You can use the array aggregator. For example, to group the tasks by project, enable the 'advanced settings' and map the 'project' field in the 'group by'.

Something like this..

_Manish_Singh_0-1747660068285.png

Avatar

Correct answer by
Level 3

I have managed to solve my issue a different way, that works:

Donna_Boj_1-1747734892384.png

Donna_Boj_2-1747734995960.png

 

 



Donna_Boj_0-1747734858956.png

I iterated on an admin only field to ensure the custom form text comes through in the order I want to avoid the bundles going out of order.
Then I format the text in the columns I need then Aggregate on that text again to add the column headers.
This has given me the result I needed for my CSV.

Avatar

Community Advisor

Hi @Donna_Boj 
glad you worked it out - so this is just FYI, with an eye to maintainability/best practice: 

 

Create a data structure and use the "advanced" module
SveniX_0-1747775616306.png
In the module you'd set the value of a field explicitly, e.g.
SveniX_1-1747775693257.png

 

Your scenario would then look like 

SveniX_2-1747776031205.png

 

 

 

Avatar

Level 3

Hi Sven, we tried this approach first but we have separate bundles of data that we need on specific rows of the CSV file. We couldn't get the CSV module to create the file this way, unless you know a way to do this?

 

Many thanks,

Avatar

Community Advisor

specific ROWS? 
hm, can you sort the bundles prior to collecting them in a CSV so they're in the right order?