Hi,
Need to get the context of completed tasks in a given month.
Using below code able to find the tasks completed between the given date range.
AnalyticsManager analyticsManager = BPMFactory.getAnalyticsManager();
List<TaskDurationStatistics> lstTasks = analyticsManager.getTaskDurationStatistics(frmDt, toDt, Status.COMPLETED, -1);
From TaskDurationStatistics, I am getting the task model Id, but to get the task detail I need task instance Id.
Could someone please help me in getting the task instance ids from task model id.
Is there any api to find/search for an attribute value directly from the context of the completed tasks.
Thanks