I'm looking to integrate Activiti with OpenText Content Server for attaching files to tasks (as references, but with the same behaviour as if the file was uploaded from the user PC). I understand this can be achieved by CMIS. However, I have been unable to find any useful documentation on how best to implement this. If anyone could point me in the right direction it would be much appreciated.
" I understand this can be achieved by CMIS" Activiti has nothing CMIS like.
What you need is probably custom code, in which you expose a method that allows you to manage content for a certain task id. So this would effectively your own API, that calls the Activiti API afterwards.
Thank you for the detailed answer. I think I may be getting confused with CMIS support offered by the enterprise version?
One thing that I'm still not sure about, is that I've definitely read about the OpenCMIS libraries being used in relation to Activiti? Would this be a recommended solution to implement this?
> I think I may be getting confused with CMIS support offered by the enterprise version?
That could indeed be. But afaik, there is no CMIS but Alfresco support in there.
> One thing that I'm still not sure about, is that I've definitely read about the OpenCMIS libraries being used in relation to Activiti?
Yes, you can use CMIS to retrieve/add documents to any CMIS-compliant document mgmt system. Activiti integrates with any java lib, so simply include the java lib on your classpath and you can get/set/metadatastuff documents from your processes.