How to get the location of file in runtime

Hi Team, We are using API to send email with post method. We are generating PDF by using merge functionality. We need provide  the location of the downloaded file in the runtime to the API . How can we achive this.   We checked the file is to be stored in the Deployment ---->Data--->file folder. The file name is in encrypted format. How to get the location of  that file in the runtime so that will pass same location to the API.   Else can we store the pdf file runtime with other location (or Folder)? How to achive above scenrio in the mendix.    
0 answers