Hi,
This is probably a super simple fix but struggling to find an answer!
I have an iterator which is seperating an array. I can see results of the array in 2 seperate bundles
I then aggregate them in a text aggreagtor but I only have the following values to map:
I have manually managed to map the results using {{20.value}} but I need the 2 values from the iterator to have a line gap inbetween them. at the moment its just 1 paragraph without any line breaks.
Does anybody have an idea of how this can be done?
Thanks!
1 Like
You can use a Text Aggregator instead.
Aggregators
Every result (item/record) from an iterator/list/search/match module will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, you’ll need to use an aggregator of some sort.
Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and can apply to many use-cases like building of JSON, CSV, HTML.
There are other types of aggregator modules, click the below links to find out more:
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
Hi Sam,
I’m using a text aggregator whch works great but I need help to have a gap inbetween each value (sentence) that is being grabbed from the iterator.
This is how I have the text aggreagtor set up:
Any ideas would be much appreciated!
Add a {{newline}}
variable after your value.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
3 Likes
That’s perfect, thanks for your help Sam
1 Like