Hi,
I am uploading a file and getting it as MultipartFile object in my controller, i need to pass it when starting the process and access the file object in one of my java tasks using MultipartFile file = (MultipartFile)execution.getVariable("file");
Can i do that, it gives me
org.activiti.engine.ActivitiException: Couldn't serialize value 'org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile@1b1dcf7' in variable 'file'
The file is not getting serialized itself when starting the process and hence the failure.
Please let me know how can i do this?
Regards