Set Variable will always overwrite the entire variable, so ending with the latest blob is expected behavior.
As already answered, use the Append To actions to get what you need. If you need to maintain the order of the text files, you can set the For each loop to run sequential by going to Settings -> Concurrency Control to Off -> Set Degree of Parallelism to 1
2
Answers
I am able to append multiple text files to a text file blob by following the below workflow-
Workflow–
Code–
Output–
You can also use Append to Array Variable action.
Set Variable will always overwrite the entire variable, so ending with the latest blob is expected behavior.
As already answered, use the Append To actions to get what you need. If you need to maintain the order of the text files, you can set the For each loop to run sequential by going to Settings -> Concurrency Control to Off -> Set Degree of Parallelism to 1