Download Attachment

sachin312
Giga Expert

Hi,

I am trying to download a attachment from business rule. Because, I want to download attachment when it is created on "sys_attachment" table. Is it possible?

The only way I found to download attachment is by using action.setRedirectURL('sys_attachment.do?sys_id=' +SOME SYSID) in UI Action. Is there any other way to do this?

Note: I tried gs.setRedirect() in business rule. But no use.

6 REPLIES 6

How are you creating the attachments and adding to the record?  


adiddigi
Tera Guru

Yes, it does that. You have to post the UI Action code. I'm assuming you posted the Business Rule's code.