cancel
Showing results for 
Search instead for 
Did you mean: 

To identify if the flow has reached the endevent

krpraghu
Champ in-the-making
Champ in-the-making
Hi,
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();

Thanks.
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

If you do not want to use history, you could observe side effects (make change in external system and observe it) during end event execute (activiti listener).

Regards
Martin
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.