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

The 4th edition of the Campaign Community Lens newsletter is out now!
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)

0 Replies

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)