Set variables on Fail Job via Go client #10788
Labels
kind/feature
Categorizes an issue or PR as a feature, i.e. new behavior
version:8.2.0-alpha2
Marks an issue as being completely or in parts released in 8.2.0-alpha2
version:8.2.0
Marks an issue as being completely or in parts released in 8.2.0
Is your feature request related to a problem? Please describe.
Recently, we introduced the ability to set variables when failing a job to Zeebe. The FailJob RPC now supports passing these variables along. Additionally, the
zeebe-java-client
now provides an interface to pass variables along when failing a job, but the Go client was left out of scope.Describe the solution you'd like
Add a way to pass variables along when failing a job via the Go client. Inspiration can be taken from other RPCs that support passing variables along like
CompleteJob
.Describe alternatives you've considered
It's possible to add this support to zbctl once it's implemented in the Go client, but I don't see a need for it now. We can implement this in a separate issue if/when users ask for it.
Additional context
This functionality was implemented for the Java client in:
The text was updated successfully, but these errors were encountered: