Error while using the Excel writer and movefile() function in Modified Javascript plugin
AE Version: 6.0
Error in Logs
2021-03-17 09:17:43 Process_Customer_Data - set outfile name ERROR ProcessStudioException:81 - Javascript error:
org.mozilla.javascript.EvaluatorException: org.mozilla.javascript.EvaluatorException: The function call moveFile throw an error : org.apache.commons.vfs2.FileSystemException: Could not rename "file:///E:/Joist/Output_Files/joist_output.xlsx" to "file:///E:/Joist/Output_Files/Invoice-67/Invoice-67.xlsx". (script#23) (script#23)
Steps To Reproduce:
- Use the OOTB-2.1 plugin in process-studio or agent and perform movefile() operation in modified javascript.
Solution:
- This is a BUG in the OOTB-2.1 plugin version. Kindly update the OOTB-2.2 plugin and your issue will get resolved.