Have the HTTPCaller save the response body to file, and set the output filename to be that attribute:
The other way you could do it is on the HTTPCaller save the response body to an attribute, then use an AttributeFileWriter to write out that attribute to a file. And again, the filename there can be set to be an attribute value.
Many thanks for your help . My dialog box looks slightly different to that (I think I'm using a slightly out-of-date version: 2021.2). I've got it to save using the filename, as below, but is there a way to specify the path that it save to as well as the filename?
Many thanks
Rob
I'm on a slightly older version, 2021.1. Surprised it's different. If you use the [...] button to create a file in typical fashion, you'll see that it's actually expecting a full filepath, not just a filename.
I'm on a slightly older version, 2021.1. Surprised it's different. If you use the [...] button to create a file in typical fashion, you'll see that it's actually expecting a full filepath, not just a filename.
Thanks, that makes sense. And to combine the folder with the value in the fileName column I've used E:\\downloads\\@Value(fileName), which works perfectly! :)
Thanks so much for your help.
Rob