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?
Switching application will reset the active session according to new access group and close all thread and unsaved work as well. That's why you are able to run only one at a time because your active thread is closed during session reset. My suggestion is try agent and queue the Data transfer using activity before switch application.