Hi @quangdatitc ,
I can confirm that I see the same behaviour that you are experiencing. (I’m on KNIME AP 4.7.2)
In this case if c:\temp\anotherfile.xlsx exists, the following error occurs, even though the “overwrite” option is set
cc @AnotherFraudUser for help
In the meantime, as a possible workaround, one option could be to include a Delete Files/Folders
node prior to the Write to Excel Template:
Even with “fail if delete fails” unticked, this will unfortunately fail anyway if the file doesn’t exist, so you’ll need to enclose it in a try-catch as follows:
Just have the input flow-variable port wired to your existing workflow from the node prior to your Write to Excel Template.