Specific invoices files name.

Hello,


I would like to know if is possible to set a specific name from downloaded invoices from Plentymarket?


I have created a flow with PlentyGetOrderDocuments and FTPupload that works well but I need the filename from a spreadsheet field. The files have to be in this format: gbo_{invoiceID}_{timestamp}.pdf


Is it possible to do this?


Thanks

Nicolas




Hi Nicolas,


you can do that with a combination of the following steps:

TextHTMLWriter

StringSplitter

FileRenamer


The configuration should looks like this:


The TextHTMLWriter is configurated as followed:

<#list spreadsheet@SpreadsheetMapper_27.getRows() as row>${row.get("your row with the new name")!}<#sep>,</#list>


You need of course the correct SpreadsheetMapper_00.


Should you need more and precise help, please contact us with a ticket.


Regards,

Lukas