Populating a Variable using other variables and a function
Posted: Mon Nov 10, 2014 6:12 pm
I am trying to create a list of files that have been processed to be included in an email when the process is complete. The logic to populate the variable is within a loop.
I am expecting- TEST22.txt, TEST23.txt, TEST24.txt, TEST25.txt
This is the code that I have but it is not producing the desired results.
<setVariable label="Populate ListofFiles Variable" name="ListofFiles" value="Concat(${ListofFiles}, ${Currentfile:name})" version="2.0" logLevel="debug" />
The above code is producing the following
Concat(Concat(Concat(Concat(TEST22.txt, TEST23.txt), TEST24.txt), TEST25.txt)
Thank you for your assistance.
I am expecting- TEST22.txt, TEST23.txt, TEST24.txt, TEST25.txt
This is the code that I have but it is not producing the desired results.
<setVariable label="Populate ListofFiles Variable" name="ListofFiles" value="Concat(${ListofFiles}, ${Currentfile:name})" version="2.0" logLevel="debug" />
The above code is producing the following
Concat(Concat(Concat(Concat(TEST22.txt, TEST23.txt), TEST24.txt), TEST25.txt)
Thank you for your assistance.