Question1Replies535Views NAGARAJANK8342 Member since 2013 23 posts TSYS Posted: 2 years agoLast activity: 2 years ago Closed CPM - How to call an activity in the 'OpenPortal' thread context from InterationThreadIn the CPM implementation, we have 'OpenPortal' thread which loads Thumbnail and Account Switching grid. We have the customer 360 which runs on the Interaction Thread(PS1_THREAD1).We have a requirement to place a button below wrap "switch to parent account'. Since ' wrap up' is under 'PS1_THREAD1' we are not able to call an activity to meet the requirement.How to call the activity in the context of 'OpenPortal' while being in 'PS1_THREAD1;.? Pega Customer Service Low-Code App Development Data Integration Java and Activities ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years agoyadam1 PEGA replied to NAGARAJANK8342We have one way like create an Activity with java step Use the below java method with threadName as param PRThread InteractionThread = tools.getThread().getRequestor().getThread(threadName); InteractionWorkPage = InteractionThread.getPage("pyWorkPage"); you can set any value to the property in pyWorkPage using InteractionWorkPage.putString("property", local.value); and configure a declareonChange to the property with the Activity that you want to call on the OpenPortal thread. whenever the value is updated to the pyWorkPage of the threadName context the Activity will run in that context.