Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
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)