Adrarc
Adrarc12mo ago

Hi there! In a workflow, is there a way

Hi there! In a workflow, is there a way I can append results to an "environment variable"? I'm running a workflow loop, and I'd like to add the results of the loop to an array which I can then take and retrieve after the loop has ended. Not sure how I can achieve this one. I do not want to loop using JS, I'd like to use the workflow loop itself.
2 Replies
Gaurav Chadha
Gaurav Chadha12mo ago
Hi @Adrarc, You can access the values from inside the loop in outer nodes by passing the variables, it will have all the meta data in it.
No description
Adrarc
AdrarcOP12mo ago
Many thanks! I went a different way, I saved a json file to local storage and appended to it, then pushed the json file to my external storage once my loop was done.