Ноw to know when workflow instance is completed?


#1

Hi!
I’v read the tutorial of how to create wf instance, create and run workers using Java client library. I can create instance, but I’ve non found the information how to know that the workflow is completed. Thank you


#2

Hi @zserg,

You can consume the event stream (e.g. via exporter) to track the state of the workflow instance. See https://docs.zeebe.io/reference/workflow-lifecycles.html

In which context, do you need to know if a workflow instance is completed?

Best regards,
Philipp