How to Error Handling About FileDownload Activity

0
I make the system about download Certificate File in browser. I register the certificate file and download the file, Occured file download action. But this action not operate download file. I check the log and find the file could not found error. So, I this activity make the Error Handling with Rollback, without rollback. but this process pass away this Error handling. I want to when occur error this logic show error message and regist error history.  
asked
2 answers
1

Hi lee,

       Check the file is available in the associated list.

If Documentlist=empty then throw message.

answered
0

Hi Lee Garam,

Please verify the File object you are passing to the download activity.

For instance, if you want to download a file, you need to pass the File object to the download action. You can connect debugger and check in the Variables tab within the Mendix modeler.

Expand the File object to check the HasContents attribute.

  • If HasContents is false, it means there is no file associated with the object.
  • If HasContents is true, it indicates that the file is present in the object.

I hope by this you can find any solution.

Kindly check and confirm.

 

Reg,

Subash JS

answered