Hello, how is possible to upload a file for an activiti task via REST api?
I'm using Alfresco Community edition 5.2 (the base of ecmarchitect tutorial sereis) which contains activiti engine version 5.19 but it is not clear how to use rest api for this kind of task.
My idea is to use the out-of-the-box rest api to manage my business workflow but i'm stuck doing operation like file upload/download. Suppose my user task needs to write some information inside a form (which will be translated in json in a normal api call) but also needs the upload of a file (like a pdf).
How can i send both information?
What rest api should i call to accomplish this task?
Solved! Go to Solution.
Hi Davide Macocchi
You can use Alfresco OOTB rest api to upload files in alfresco refer this File upload | Alfresco Documentation
And upload your file to specific folder and create rule to that folder to start workflow when file enters in that folder.
Thanks
Kalpesh
ContCentric
Hi Davide Macocchi
You can use Alfresco OOTB rest api to upload files in alfresco refer this File upload | Alfresco Documentation
And upload your file to specific folder and create rule to that folder to start workflow when file enters in that folder.
Thanks
Kalpesh
ContCentric
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.