Question

1
Replies
20
Views
Close popover
Dan Shell (DanS7319)
Student

Student
US
DanS7319 Member since 2020 14 posts
Student
Posted: November 12, 2020
Last activity: November 18, 2020

Accessing specific data page instances

I have a thread level data page that takes parameters.  Every time it's accessed it creates another instance of itself with a hashcode suffix based on the parameters inputters in the square brackets.

So if the data page is accessed like this "D_TestPage[State: 'CA', Account: 'Premium'].status" , it will return the status based on the State and Account parameters.  Then on the Clipboard it will add another instance to the datapage  called "D_TestPage_pa342356456pz".

If I want to access the .date property on that instance, is there any way to access that clipboard instance without knowing the hash suffix and without having to call it again using the parameterized call ""D_TestPage[State: 'CA', Account: 'Premium'].date"

Calling the parameterized version again would trigger a third part service call and knowing the hash doesn't seem possible at run time.  Can I call the last generated instance?

 

Pega Platform 8.2 Data Integration Cross-Industry System Architect