Question

1
Replies
105
Views
Dinesh Kumar Dhanasekaran (DineshKumarD9112)
Accenture

Accenture
IN
DineshKumarD9112 Member since 2017 21 posts
Accenture
Posted: June 30, 2019
Last activity: September 30, 2019
Posted: 30 Jun 2019 11:21 EDT
Last activity: 30 Sep 2019 14:29 EDT
Closed

I want to see the clipboard class used in the below Java code.

I have installed Pega PRPC Version 8 in my windows 10 machine. Could somebody please tell me where can i find the ClipboardProperty class of Pega, so that i can understand the below piece of Java code used in the pzPopulateApproversList Activity.


Could anyone please help me on this? Attached the screenshot with the folders created after installing Pega PRPC Version 8. Could anyone please let me know in which path i can find the Jar file that has ClipboardProperty class of Pega?


Code snippet :

I have installed Pega PRPC Version 8 in my windows 10 machine. Could somebody please tell me where can i find the ClipboardProperty class of Pega, so that i can understand the below piece of Java code used in the pzPopulateApproversList Activity.

Could anyone please help me on this? Attached the screenshot with the folders created after installing Pega PRPC Version 8. Could anyone please let me know in which path i can find the Jar file that has ClipboardProperty class of Pega?

Code snippet :

String approvalListName = tools.getParamValue("ApproverListPage");
String approverNameProperty = tools.getParamValue("ApproverNameProperty");
ClipboardPage cpFlowPage = null;
ClipboardProperty flowApproversList = null;
ClipboardProperty holderList = myStepPage.getProperty(approvalListName);
if(holderList != null)
{
String flowName = tools.getParamValue("flowName");
ClipboardProperty cpFlow = myStepPage.getProperty("pxFlow("+flowName+")");
if(cpFlow != null){
cpFlowPage = cpFlow.getPageValue();
Iterator it = null;
it = holderList.iterator();
if(it.hasNext()){
ClipboardPage TempPage = ((ClipboardProperty)it.next()).getPageValue();
String approverName = TempPage.getString(approverNameProperty);
ClipboardProperty prop = cpFlowPage.getProperty("pyApproversList(<APPEND>)");
prop.getProperty(".pyApproverName").setValue(approverName);
myStepPage.putString("pyCurrentApprover",approverName);
myStepPage.getProperty("pyCurrentApprovalIteration").setValue(1);
while(it.hasNext()){
ClipboardPage TempPage1 = ((ClipboardProperty)it.next()).getPageValue();
String approverName1 = TempPage1.getString(approverNameProperty);
prop = cpFlowPage.getProperty("pyApproversList(<APPEND>)");
prop.getProperty(".pyApproverName").setValue(approverName1); }
}
if(!"".equals(tools.getParamValue("DecisionTableName")))
holderList.removeFromClipboard();
}
}
***Edited by Moderator Marissa to move from Pega Academy to Pega Support Community; update platform capability tags***

Data Integration Java and Activities
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.