Call switchApplication script and Data Transform in Sequence
I am using pega 7.2.
I have 2 applications, and am trying to switch between them using the "switchApplication" script - being called from a link Action. When the application switches, I also need to load a new harness and run a Data Transform (pxUserDashboardPrepareDisplay) to specify a "UserDashboardCategory".
The problem is, either the switchApplication works, or the data transform works (depending on which one I call first), but they both wont run in sequence to switch applications AND load a new harness. I'm guessing there is something with how the calls are made (asynchronous or ?), where only one call gets processed, not both.
Is there a way to run switchapplication, and then load a new harness (and data transform) so they are run in sequence?