Internal Server Error when clicking on attachment download link

Dear All,

I am having trouble while clicking on the download link created for the attachment. The link under ‘Overview’ tab for downloading the file works fine.

Please help.

Thanks & regards,
Zeeshan Ali

In your first step forms, for the “Link” widget, you defined the URL as a constant with the value: "/bonita/portal/resource/" + context.salesrequestDoc_ref.url

So the expression is not evaluated and when you click on the link you try to open an invalid URL. You can actually easily see that when you put your mouse over the link.

In order to fix that switch from constant to expression by clicking on the “fx” button on the right hand side of URL property in the UI Designer.

Did you check the Engine log file for any error?
You can also take a look at the web browser developer tools in the “network” tab to see if there is any errors in HTTP requests.

Also you might want to share your diagram so I can try to reproduce the error.

Dear Antoine,
Thank you for your quick response, please find below link to the process…
https://drive.google.com/file/d/0B_c7F3NKwx8JTTNFSTFNbFVqelk/view?usp=sharing

Thanks & regards,
Zeeshan Ali

Thank you brother,

I have tried to click on the fx but it removes the link.

Can you share the correct one please.

Thanks & regards,
Zeeshan Ali

Just retype the original value and it should do the trick.

Thank you for your support, it did work… :slight_smile: