Get back Response from the workflow

Hello all,
How to get response back when we deploy the workflow on zeebe. I am using java client to deploy workflow.

Hi @manish,

you can get the result of the deployment by calling join() on the request.

client
  .newDeployCommand()
  .addResourceFromClasspath("demoProcess.bpmn")
  .send()
  .join()

See https://docs.zeebe.io/clients/java-client-examples/workflow-deploy.html.

Does this help you?

Best regards,
Philipp

Thank you @philipp.ossler for the reply.
But we can only get some values like ProcessId, Resource Name, Version, workflow key etc with above mentioned code.
Is theret any way to get details of the data like logs, jobs etc?
I am new at this platform. Thanks

@manish you will need to use Simple Monitor or zeeqs for asking questions about the state or deployed artefacts.

2 Likes

In addition to the things @salaboy pointed to, you can use Operate to inspect the state of the system. See https://github.com/zeebe-io/zeebe-docker-compose to try it out, or go to https://camunda.io to try it online.

1 Like