How to get count of current activities of ProcessInstance??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2017 06:44 AM
As you see in above process activiti diagram there are three Task:
1. Handle vacation Request
2. Adjust vacation Request
3. Send confirmation mail
I am using following code:
long count = taskService.createTaskQuery().taskName("task_name").count();
Above code gives only active manual task count.
What i want:
- I want to fetch count of processes that are in handle vacation request task and others
- Is there any way by i which i will fetch the current activity of process instance
I am able to fetch all task but Is there anything in API to get these details.
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2017 12:46 PM
Hi, sawan darekar
You can get list of active process instances by using rest api refer this link
Other
To access the REST API Explorer refer link http://hostort/activiti-app/api-explorer.html
Process Instance List | Alfresco Documentation
Thanks,
Kalpesh
