How to pass an excel as parameter to custom java action?

I want to pass the excel generated from excel exporter module as a parameter to custom java action, So that I can transpose the generated excel in custom java action.  Disclaimer:- I know we can transpose the excel when it is downloaded in the system but the requirement of the business is that it gets downloaded as transposed excel.  Any other suggestions on how to get excel transposed and downloaded will also be appreciated.
1 answers

Use a filedocument as parameter and pass the file that is created by the Excel exporter module. The response could again be a filedocument. Then in Java you could do your stuff to change that document and then pass it back again to the Mendix app.