cancel
Showing results for 
Search instead for 
Did you mean: 

Personas - switch flavors

Former Member
0 Kudos


Hello,

  Using session.utils.changeflavor (Flavor ID) I could successfully switch between flavors within the same transaction.

But, My need is to switch from flavor 1 from Transaction 1(Custom Transaction) to flavor 1 in Transaction 2(MM01).

In detail, I have a custom transaction having a flavor. We want to switch from the custom transaction flavor to another flavor associated with transaction MM01.

Let me know what to be done to achieve the above?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You should just have to navigate to the target transaction (MM01) and call changeFlavor. Did you try that? Did it not work?


Steve.


Former Member
0 Kudos

Steve,

   We wanted to achieve the above requirement on click of a button from flavor 1 of transaction 1 which should take me to flavor 1 of transaction 2.

As said in ur reply Navigating works. But we are looking for a solution to achieve the same through scripting.

Former Member
0 Kudos

I meant to navigate in a script, so:

session.startTransaction("MM01");

session.utils.changeFlavor("...");

Did you try that? What happened?

Steve.