“How to Get the Variables of a Workflow Instance”

Nurbek Mussabayev: Hi zeebe team, who knows, how to get all variables of some workflow by using zeebeClient object or smth like that, except getting from ES ?

saig0: Hi @Nurbek Mussabayev :wave: There are 3 ways to get the variables of a workflow instance:

saig0: 1. synchronous workflow instance creation: https://docs.zeebe.io/reference/workflow-instance-creation.html#create-and-await-results

saig0: 2. using a worker in your workflow without limiting the fetched variables

saig0: 3. using an exporter (e.g. ES, Kafka, Hazelcast) or an application that consumes the data from an exporter (e.g. https://github.com/zeebe-io/zeeqs)

Nurbek Mussabayev: @saig0 thx

Note: This post was generated by Slack Archivist from a conversation in the Zeebe Slack, a source of valuable discussions on Zeebe (get an invite). Someone in the Slack thought this was worth sharing!

If this post answered a question for you, hit the Like button - we use that to assess which posts to put into docs.

1 Like