Expand my Community achievements bar.

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)