Activiti REST api

cancel
Showing results for 
Search instead for 
Did you mean: 
davidemacocchi
Active Member

Activiti REST api

Jump to solution

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?

1 Solution

Accepted Solutions
kalpesh_c2
Senior Member

Re: Activiti REST api

Jump 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

View solution in original post

1 Reply
kalpesh_c2
Senior Member

Re: Activiti REST api

Jump 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