Skip to main content
Process Variables

Create variables without code blocks.

Ossi Galkin avatar
Written by Ossi Galkin
Updated over a week ago

Available since version 5.6.


Process Variables provide an alternative way of initializing variables at the beginning of a Process. They are functionally comparable to a sequence of Code blocks with Assign Variable set originating from a Trigger.

You can find them in the Process Editor, here:

Process Variables have three properties: Name, Value, and Secret:

The Value is dynamic, and it can be any JSON value (RFC 8259) or an environment variable. Examples of valid values:

  • 42

  • true

  • "Foo"

  • {"foo": [1,2,3]}

  • #env.foo

Values can not be expressions. For example, these would not work:

  • 2+2

  • #env.foo + #env.bar

Process Variables are referenced like other variables, i.e. with the #var.-prefix. They can be reassigned using a Code block with a variable of the same name.


In the Process Instance view, Process Variables can be seen in the Trigger-element. If a Process Variable has the Secret-setting enabled, the value is masked in this element. Secret Process Variables are not automatically masked in subsequent elements. Make sure that secrets aren't leaking elsewhere, e.g. by skipping the logging of results and parameters of subsequent elements which use the secret.

Did this answer your question?