As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello. I was trying to use "api/task-instances", but it returns tasks only of the one user. Can i get current tasks of all users?
Hello,Yes you can but for that you need to create custom api.You can use Java workflowService to get all current tasks of all users.
@vidhipanchal ,thanks you for the answer. I don't know, how to create custom api. Have you got some examples or tutorials?
Following are the few links which helps you to understand how can you create webscript(API):
https://docs.alfresco.com/5.2/references/dev-extension-points-webscripts.html
https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html
http://www.krutikjayswal.com/2016/10/alfresco-webscript-spring-webscript.html
For getting workflow related data you need to use WorkflowService.