In Alfresco 5.1, am trying to query Workflow tasks completed after a particular time. final WorkflowTaskQuery query = new WorkflowTaskQuery(); query.setTaskState(WorkflowTaskState.COMPLETED); With this am able to get all completed tasks. What shou

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2016 04:38 AM
final WorkflowTaskQuery query = new WorkflowTaskQuery();
query.setTaskState(WorkflowTaskState.COMPLETED);
With this am able to get all completed tasks. What should I do to get list of tasks Completed after a particular time?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2016 08:33 AM
There is no support for date range querying in the Alfresco-abstracted task query API. So you would have to query all tasks, use the sort parameters to sort by completion date and then iterate, skipping over those that do not fall into your range.
