how can i have total instances completed using activiti-rest i want to have details about the instance-completed number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 06:43 AM
how can i have total instances completed using activiti-rest i want to have details about the instance-completed number
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 07:48 AM
What instances? Process instances or Task instances. You use the history endpoints to query completed process & task instances Activiti User Guide . Returned JSON contains a total property which indicate the total results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 07:53 AM
yes i know but i would to have only the information total I do not need other information I want it to show me the instance number only, is there a URI that gives this information since the number of instance I need it to display it in a j2ee application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 08:07 AM
Responses are JSON format and list results will always contain "size", "total", "start", & "data" . If you don't want any data back you can specify size 0 in the JSON request body (see Activiti User Guide). You will get a response like
{
"size": 0,
"total": 101,
"start": 0,
"data": []
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 10:00 AM
so there is not a uri that gives me only total, as you show me it gives me size, total .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2018 04:44 AM
There is no uri that will give only the total.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2018 07:07 AM
Tank you Bassam
