How can I call HttpServletReponse from JBPM execution context. This is because delegated java action class is called from process definition and the program must allow the user to download the file from the web browser when the workflow transition occurred.
I find myself cannot access to Alfresco's web layer and running out of idea how to access HttpServletReponse to allow the user to download file.
Any kind help is appreciated.