Personas - Pass values from one flavor to other
We are attempting to pass values from flavor 1 to flavor 2 through variables and use them at Flavor 2.
In detail, in flavor 1 value from input box 1 is moved to a variable.
Then we switch to flavor 2 using session.utils.changeflavor(flavor ID) successfully.
Here in flavor 2, we are attempting to access the variable that was passed from flavor 1, with no success.
The question is it possible to pass values from one flavor to another?
If so, let us know the steps to be followed.
Steve Rumsby replied
Variables you create in a script are local to that script, not just to that flavour. You can't access them in another script in the same flavour. To store values so that they are accessible globally use the session.utils.put an session.utils.get methods.