We have a need to communicate between two applications in Pega 7. By communication, i mean accessing the rules(properties,clipboard pages,..) present in one application i.e app1 from another application i.e app2 thru activities or data transforms in app2. can someone please let us know if this is possible and what kind of configuration is needed for achieving this. We tried to explore on this but not having much luck and hence any pointers to any information regarding this will be very helpful
oLog.error("Unable to switch to user provided access group'" + targetAG + "'.Following exception is encountered:" + ex.getMessage());
Above logic is for switching the application only. after swtiching you may have to set the thread context with the current application rulesets. so that you can access the rules of those rulesets in the standrad thread after switching. to set the ruleset context call the activity "Code-Security.pzSetRulesetsForThisApp" on the application page you have created above i.e "App2Page". this activity sets the ruleset context of switched application in standrad thread and do your logic after this step.
Note: As you are in 7.3.1 version, above code steps can be found at the activity "pzValidateInputs"of "Code-Pega-List", in step 18,21
Let me know if you face any issues while implementing this logic. As we are using this logic in many places, ideally it should work in your case also.