Setting Directory variable in Loop

Dear All,


I am trying to download different queried documents from Pubmed via a Loop but the problem is that the Document grabber node is saving (and overwriting) in the same directory so I only get the documents associated with last XLS term. Can anyone tell me how to set directory variable so Document Grabber download documents associated with each term in different folders.

For clarification I also attached the workflow I used.

Best Regards,



to control the directory in which the Document Grabber stores the documents overwrite the "Directory" flow variable of the node in the "Flow Variables" tab of the node dialog. Attached is an example workflow.

Note that the directory have to exist and has to be empty!

Cheers, Kilian