AnsweredAssumed Answered

Start a process instance with variables

Question asked by leovleov on Nov 18, 2014
Latest reply on Nov 19, 2014 by martin.grofcik
Hi,

We are trying to use REST API to start a process instance with variables.
If we just add a variable "A" to start a process instance, activiti engine will add the variable "A" and its value in the process instance correctly.
But if we define a variable "A" in the global variable of the process definition, then we can't use variable "A" with its value to start the process, the activiti engine ignore the variable "A" and its value directly.

Is it possible to update the variable "A" in a process definition by starting a process instance with variables?

P.S We can't update the variable  after the process instance created, because the first task in the process is a system task, and it needs variable "A". We can't get the process instance id before the system task running.

Thanks for any helps.

Outcomes