copy values from one page list to another page list

Dear Friends

Can somebody list the detailed steps to write in an activity to copy the values from one page list to another pagelist. I am trying page-copy method but it's not working. Please help me as this is urgent


**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

October 4, 2016 - 12:55am

Hi deelep,

In Activity first mention pages & classes

like : test-Code-Pega-List and test.pxResults ->"your class name"

in first step of activity : use page-new method

second step : use page-copy method , in step page of page-copy method keep your page-list name (from where you want to copy the results like sample.pxResults(<CURRENT>)

In page Copy method ,place your new pageList name test.pxResults(<APPEND>)

Thats it . check in clipboard or trace the activity



October 4, 2016 - 1:29am

Hi Deelep,

Please find attached a document with screenshots of a simple usecase on Page-Copy.

If you have a more complex requirement please do let me know so that I can change my usecase accordingly.



January 24, 2018 - 2:04am
Response to rodrg

Hi Gisela_R

Why you used Apply-Data transform instead of that  can we use obj-browse?

October 4, 2016 - 1:24pm

I would advise you to use For each (or) Append actions present in the data transform rule over an activity rule to copy the pagelist. Also please have a look at the help documentation for data transform rule to know more about this.

November 10, 2016 - 11:48am

Use Append and MapTo  option in DT if source page list and target page list are of different class

Use Append  option in DT if source page list and target page list are of same class


This avoids use of Activities and it worked for me :)



April 13, 2018 - 2:58am

Simple just follow below steps:

My source page A.pxResults

Destination B.pxResults

Create a step put for each embedded page and give step page as A.pxResults

Step method as page copy

copy into as B.pxResults(<APPEND>)  


Thats it

August 5, 2018 - 9:55am

You can solve it using Data Transform.

Try this.

Assume You have a AvailableItems Page list, and SelectedItems PageList. You need to copy some of the available items to selected items based on a selection.

Create a data transform with the following and apply data transform on the connector.

Define pages&Class tab w.r.t to case type.

. For each page in  -- > pyWorkPage.AvailableItems

when  .Selected=="true"

Append to -->  pyWorkPage.SelectedItems  --> an Existing Page --> pyWorkPage.AvailableItems(<CURRENT>)



August 5, 2018 - 10:11am

Hi ,

You can also use For each page in DT to achieve your requirement.