Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Personas - Pass values from one flavor to other

Hi experts.

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.


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.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question