cancel
Showing results for 
Search instead for 
Did you mean: 

I am using Alfresco community edition , can i create,update and delete a workflow task through REST api

ahmar_husain1
Champ in-the-making
Champ in-the-making

How can i create a  work flow task through rest API ?

I have a method to fetch all the existing TASKS through REST API through

http://127.0.0.1:8080/alfresco/s/api/task-instances  

3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator

Unfortunately Alfresco up to 5.2 only had a bare ReST API when it came to workflows. With Alfresco 5.2 there is now a new v1 ReST API that includes a significantly enhanced workflow ReST API. You can take a look at the API definition document or investigate the API using the api-explorer against a running instance of Alfresco 5.2.

jpotts
World-Class Innovator
World-Class Innovator

If you are using a version below 5.2 you can write a web script that leverages the native Alfresco workflow API or, if necessary, the lower-level Activiti API. Then you can call your web script remotely to create the workflow task.

douglascrp
World-Class Innovator
World-Class Innovator

We started working on a project to do just that when Alfresco removed the Workflow Console.

Here it is GitHub - douglascrp/alfresco-workflow-webscripts: Project implementing the missing workflows webscri...