create file in workflow

Hi,

is there an easy way to create a csv output with the value of the local variables ?

kind regards,

koen

Of course.

In your Create File plugin you will reference these variables while formatting the CSV output as so:

“%{var1}”,“%{var2}”,“%{var3}”,“%{var4}”

Then the output after the Create File will be a Send To Folder, where you will have a fixed name and the “Concatenate files” option checked. Make sure that the “Separator string” is empty.

So every time you will execute the Create File plugin in that process, it will generate 1 CSV line which will be added in the file set in your Send To Folder plugin.

You might need to use system or other variables in the name of your Send To Folder plugin if you wish to not have every lines of every day in the same file.

Hope that helps.

Ah, DUH! I could have figured this out myself :slight_smile:

Thanks for your help!