Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Difference between instance.vars.someVar and vars.someVar

Avatar

Level 4

Hi

I want to know the difference between difference between instance.vars.someVar and vars.someVar.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

There is a good documentation on this:

JavaScript scripts and templates

instance.vars => global variable for a workflow

vars => part of each transition (e.g. can have different values if you have a fork and parallel paths)

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

There is a good documentation on this:

JavaScript scripts and templates

instance.vars => global variable for a workflow

vars => part of each transition (e.g. can have different values if you have a fork and parallel paths)