cancel
Showing results for 
Search instead for 
Did you mean: 

How to get to know programmatically that workflow finished?

alper
Champ in-the-making
Champ in-the-making
Hi,

I start my workflow by using:


runtimeService.startProcessInstanceByKey(processId, request);


I didn't find a way to get to know in the same thread that the started workflow is completed..
Is that possible at all?
My goal is to test performance of my workflow scaffold, maybe I am on the wrong way?
Should I implement a listener and add it to the end event instead to get to know that my workflow is over?

Thank you.
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

There are several possibilities, two of them:
Regards
Martin