How to find a particular activity is completed or not in BPMN?

Hi,

I have a requirement, where I can receive a message in non-interruptive message receive task in the event sub process and need to check whether a particular activity in the main BPMN is completed or not ?
This needs to be done using JavaAPI.
Example - There are multiple send and receive tasks in the main BPMN. When I receive the non-interruptive message, I should be able to check if a particular send taks is completed or not ?

Checkout the HistoricActivityInstanceQuery API

1 Like