I have a SplitinBatches loop that goes thru email attachments. I would like to add the filename of each attachment to a variable that would be accessible outside this loop.
For now my set node is getting erased every loop. I would like the data to append to the set node.
I’ve tried it but my set node is not getting updated. it stays empty. i’ve look at every variable and item.name really returns the right value I want to add. If I put the set node inside the loop, the set get updated but erased at the same time…
You won’t see it in node at the node at the start but if you try to use the output of the set node you will set it. Check out the quick example below, If you run the workflow and check the first node it will be empty but if you check the second set node at the end where we use the value of the first set node you will see the 3 items.
0.236.3 is a bit old you might want to update to the latest v1 release, It looks like we did change how this works a while back but I don’t have a more recent example on how to do this.
Hi @Jon , thanks for your reply!
we’ve updated to 1.26.0, but your example workflow from september 22 still returns empty in the Set1 node. I’ve manged to build a woraround using write/read file nodes. its really whacky but it works
if you happen to know a more elegant way to achieve this i’d be curious to know, although im fine using the workaround for now.
Thanks again for taking time to support this, have a great day