AnsweredAssumed Answered

How to get to know programmatically that workflow finished?

Question asked by alper on Nov 26, 2014
Latest reply on Nov 27, 2014 by martin.grofcik
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.

Outcomes