Question1Replies577Views×Close popoverNAGARAJAN KADHIRESAN (NAGARAJANK8342) TSYS Associate Director TSYS US View ProfileSend Message NAGARAJANK8342 Member since 2013 23 posts TSYS Posted: August 21, 2018Last activity: September 5, 2018Posted: 21 Aug 2018 15:22 EDTLast activity: 5 Sep 2018 11:00 EDT 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 agoPosted: 5 Sep 2018 10:49 EDT×Close popoverManoj Kumar Yadav (yadam1) PEGA Senior Solutions Engineer Pegasystems Inc. IN View ProfileSend Messageyadam1 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.