AnsweredAssumed Answered

To identify if the flow has reached the endevent

Question asked by krpraghu on Apr 25, 2014
Latest reply on Apr 28, 2014 by martin.grofcik
Is there anyway to know if the flow has reached the endevent in the flow other than querying History table through HistoryService API?
I searched for it in this forum but couldnt find any other way. Any pointers is appreciated.

And is this the query to achieve through History Service:

HistoryService historyService = null;
List<HistoricActivityInstance> pids = historyService.createHistoricActivityInstanceQuery().processInstanceId("id").list();