08-25-2020 06:29 AM
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?
08-25-2020 06:57 AM
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.
08-25-2020 07:04 AM
@vidhipanchal ,thanks you for the answer. I don't know, how to create custom api. Have you got some examples or tutorials?
08-26-2020 12:52 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.