I am trying to get the active tasks of an instance using the below code. There i

I am trying to get the active tasks of an instance using the below code. There is an active task at a process which is nested two levels from the parent process. And the below code is not capturing the active task that I am looking for. How can I get the tasks of a subprocess?

TaskSummary[] tss = (TaskSummary[]) pes.getCurrentTasksForProcess(
                                                  cddProcessId,
                                                  ProcessExecutionService.UNATTENDED_AND_ATTENDED_TASKS, 0,
                                                  Constants.COUNT_ALL, TaskSummary.SORT_BY_ASSIGNED_TIME,
                                                  Constants.SORT_ORDER_DESCENDING).getResults();

OriginalPostID-198760

OriginalPostID-198760

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data