This issue can happen when the file path of any single file being exported exceeds the windows MAX_PATH value of 260. When performing an export using the default configuration, Clearwell creates a temporary working directory under D:\CW\V66\data\esab\dataStore_case_xxxxxxxxx_xxxxxxxx can have a total path over 100 characters in length. When selecting the export option to create a zip file, a further 35 characters are reserved for the zip file name, e.g. EXPORT_CONTENT_2018-12-21_06-41-36.zip. As a result an input source file with a path that is little over 100 characters in length can be renamed in the export.
A few things be done to try to reduce the size of the working directory path used by Clearwell, and reduce the chance of paths being renamed:
1. Select the export option "Use short, most relevant folder paths". This might shorten the paths enough to prevent them from being renamed.
2. Select the export option "Access only from appliance". This option doesn't create a zip file. Then set property esa.export.filepathlimit=295. 35 characters will always be removed, as mentioned earlier, because a zip file will not be created. An extra 35 characters can be added.
3. Use the property esa.export.joboutput.external to specify a network share as the destination for exports.
For example: esa.export.joboutput.external=\\cwsupport29\myexports
Clearwell still creates a temporary working directory under this directory, but the temporary path added by Clearwell is much shorter.