camunda-community-hub / zeebe-client-node-js

Node.js client library for Zeebe Microservices Orchestration Engine
https://camunda-community-hub.github.io/zeebe-client-node-js/
Apache License 2.0
152 stars 38 forks source link

Changing process variables after deploy #334

Closed Anton1922 closed 1 year ago

Anton1922 commented 1 year ago

Hi! I use camunda/zeebe 8.2.11 zeebe-node 8.0.1

I'm new to using zeebe and zeebe-node. I read the documentation but didn't find a solutions for my questions.

  1. Can I set variables, that will be available to the whole process, using method deployProcess ?
  2. Can I change the values of the variables for the process after deploy? I found the setVariables method, but as I understand it, this method sets variables for a specific process instance by its id. Or am I wrong?

I will be glad for help!

Best regards, Anton Fedorov