RunDirectory

Hello,

I have a protocol creating links for different files stored under RunDirectory

This is for example the way I make an excel file available:

Create the excel file with an Excel writer component and store it in:

\$(RunDirectory)/lnkfls/excelColorExport.xlsx

Create an image component with a link:

http://\$(Servername):\$(ServerPort)/jobs/\$(UserName)/\$(RunId)/lnkfls/excelColorExport.xlsx

According to the definition of the run directory I found:

[Run Directory

A directory owned by your running job where you can temporarily place files. There are two run directories: Server-side directory (its name is in the global property "RunDirectory") and Client-side directory (its name is in the global property "ClientRunDirectory") These directories are cleaned up when your job is finished (or soon thereafter), so files you need to keep should be saved from within your viewer or immediately copied to a location outside of the run directory.]

It makes me feel that it can happen that the user want to get the file but it's not anymore available.

For the test I did it was working fine, but maybe it's not an ideal solution?

What would you recommand?

Thanks,

florent