Hello All
I am trying to implement a mobile app using Alfresco's REST API. So far I have been able to use the below end point to get a user's assigned tasks:
/alfresco/api/-default-/public/workflow/versions/1/tasks?where=(assignee='homer')
Now I am struggling with figuring out the API actions for Approve and Reject actions on a task. Would appreciate any help. I am getting the idea that I will have to update some 'variable' values, but I can't find any clear documentation on exactly what variables to set, if I am rejecting a task, and which variables to set when I am approving a task.
Thanks
Vipul
I could not locate v1 workflow rest api in documentation and also not sure if there are v1 apis like one you provided to update tasks/instances etc.
However, have a look at repository rest apis and see if that works for you.
http://127.0.0.1:8080/alfresco/service/index/package/org/alfresco/repository/workflow
Workflow definitions can be found here: https://github.com/Alfresco/alfresco-remote-api/tree/master/src/main/resources/alfresco/templates/we...
This is an obselete doc but may be helpful: https://hub.alfresco.com/t5/alfresco-content-services-hub/workflow-rest-api/ba-p/290146#w_posttaskin...
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.