How to map data after calling Report Definition from Activity

Hi Team,

I am trying to call Report Definition from Activity, so it’s done and data come to clipboard

my question is when data come to clipboard how can i map that data to my property .

in here i want to map data to DescriptionTemplate (textArea) ,

cpv_description value i want to map to DescriptionTemplate, how can I do it

@Eranda10274 You can set like below in the 3rd step

.DescriptionTemplate pyReportContentPage.pxResults(1).Cpv_Description

Best practice is to hit the Report definition using data page(List). Dpage->Report definition. In that case,

.DescriptionTemplate D_YourdpageList.pxResults(1).Cpv_Description

@Anoop Krishna I had tryied this way , but I got this error

@Eranda10274 Please define the page is pages and classes

pyReportContentPage Code-Pega-List

pyReportContentPage.pxResults FBM-Data-MenuDefinitions

@Eranda10274

check if the Page name is defined in the parameter (pyPageName) in the step1 Property-Set . The results are stored in the Page. You can use this page to set the values.

@Eranda10274 OOTB activity pxRetrieveReportData have some param which we set before calling it. One of the param this activity have is param.pyPageName, it is used to populate report definition data.

Set this param along with the other 2 required params & use the page which you have defined for param.pyPageName to get the data of RD.

Let’s take an example: you gave TempRDData to param.pyPageName.

Define TempRDData as Code-Pega-List & TempRDData.pxResults as the class of your RD

For further mapping you can loop over TempRDData.pxResults and set the columns values to respective properties

@Eranda10274 bro instead of property set use Page copy from pyReportContentPage.pxResults() to Page.pxResults()

in pages&& Class define page= code-pega-list and Page.pxResults=your class and i think your problem is solvedbut

if your want use property set method use Append and along with last sub scripts