Question

3
Replies
227
Views
dougy350 Member since 2015 32 posts
US Treasury
Posted: July 11, 2018
Last activity: July 17, 2018
Closed

Call switchApplication script and Data Transform in Sequence

Hi,

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?

thanks

Low-Code App Development Low-Code App Development Dev/Designer Studio Data Integration Java and Activities User Interface
Moderation Team has archived post
Share this page LinkedIn