Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3280

How can we get the TaskInstanceId from Task Model Id?

$
0
0

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


Viewing all articles
Browse latest Browse all 3280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>