Question

Copy Pagelist from child case to a different parent case.

Context:

We have 2 parent casetypes.

1 parent case without a child case - Parent Case A

1 parent case with a child case - Parent Case B with Child Case C

Requirement:

A pagelist has been populated in C.

At some point in time A should be able to call on C.

A should be able to receive/populate a copy of C's pagelist.

Issue:

How do you copy a pagelist from a specific C, to A?

***Edited by Moderator: Lochan to update platform capability tags***

Correct Answer
September 26, 2019 - 8:52am

Solved

Comments

Keep up to date on this post and subscribe to comments

September 26, 2019 - 2:48am

Hello,

I believe if you open both WorkObjects you could just apply a Page-Copy method. should work unless the class is somehow inaccessible for Parent A.

If it is the case you may have to try a change class method before the Page-Copy.   

September 26, 2019 - 7:20am
Response to MarcLasserre_GCS

Marc!

"Obj-Open-By-Handle" works like a charm.

 

However, "Page-Copy"

CopyFrom: Pagelist(<CURRENT>)

CopyInto: Pagelist(<APPEND>)

 

does not result in a copy of the pagelist on the clipboard.....

September 26, 2019 - 7:56am
Response to BobReawaruw

No you right. Page-Copy won't be working just a Property-Set should be sufficient from one PageList to the other.

September 26, 2019 - 8:52am
Response to MarcLasserre_GCS

Thanks!

September 26, 2019 - 8:52am

Solved

Mod
September 26, 2019 - 10:34am
Response to BobReawaruw

Thanks for updating! We will mark this post as Answered.

Lochana | Community Moderator | Pegasystems Inc.