Baktiyar Bekbergen
Baktiyar Bekbergen

Reputation: 384

Zeebe cancel deployed instances

Recently I have tried using zeebe, zeebe io on scala, and I have some unfinished instances, and donno how to remove them, can anyone suggest me any desicion about that?enter image description here

Upvotes: 1

Views: 1245

Answers (2)

Ryan
Ryan

Reputation: 81

In addition to the answer from Baktiyar, here is a language agnostic one (the Zeebe RPC Api) and documentation for various methods in case others land here and zbctl or java client are not the right fit.

Zeebe RPC Api provides all the commands you can make directly to the engine from any client in any language that supports grpc.

zbctl docs for cli execution

java client and others such as go, cli, community supported clients, and instructions on building your own

Upvotes: 0

Zelldon
Zelldon

Reputation: 5516

Workflow instances can be canceled via:

Comand line:

zbctl cancel instance INSTANCE_KEY

Programmatically via Client (java api example):

zeebeClient
   .newCancelInstanceCommand(instanceKey)
    .send();

or directly in operate with the cancel button at the right of each line.

Upvotes: 2

Related Questions