Question
PSC
CA
Last activity: 10 Aug 2016 7:23 EDT
Data page keeps refreshing with every reference
Hi,I have a repeat grid with source of data page with parameters. Every row has got a check box. In order to select a row( or rows) check box is selected. I want to put selected rows in a separate clipboard data page, in order to do it I'm using activity to loop through grid data page (initial one) and ones that selected get copied. My problem is every time initial grid data page gets referenced (for example with Page-Copy) in activity or Data Transform it is being refreshed with new data. What is even worse, since report under data page uses parameters, data page gets refreshed with report data without parameters. Is there a way to copy data from data page without its being refreshed? Or may be there are any different approaches to what I'm doing?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
PEG
IN
Can you set the scope to requestor and observe the behavior? Thread scope means it refreshes for every thread. If it is requestor scope it will be same for all threads for particular requestor.
Pegasystems Inc.
GB
Are you using the "Refresh once per interaction" setting? If so try disabling this and setting a longer interval before the data page is refreshed. You can also use a when rule to further conditionalize the refresh.
PSC
CA
Forget to mention that data page is Editable and scope is Thread. Also it is Limited to a single data page. Therefore I'm not expecting a refresh for this page at all. I'm mistaken?
PSC
CA
Forget to mention that data page is Editable and scope is Thread. Also it is Limited to a single data page. Therefore I'm not expecting a refresh for this page at all. I'm mistaken?
PSC
CA
Any suggestions form the forum about data page? I still not resolved my problem.
Accepted Solution
PEG
IN
Can you set the scope to requestor and observe the behavior? Thread scope means it refreshes for every thread. If it is requestor scope it will be same for all threads for particular requestor.
Blue Rose Technologies GmbH
DE
Thread scope refreshes for every thread, What does that mean ?
Since it is an editable parameterized datapage, it will populated for the very first time(when we reference it) and then onwards only when the parameter value changes it will be repopulated. That is my understanding. Am I missing something here ?
PEG
IN
Hi Satish,
What I meant to say was , it will repopulate again when value changes and it is applicable to current thread. My above statement might be misleading.
Scope
Select:
Thread
– The page is created in a single requestor thread and can be accessed as often as needed by processing in that thread.Requestor
– The requestor can access the page(s) loaded across all threads.Node
– Any requestor executing on the current node can access the pages.
Note: Editable pages do not have a refresh strategy and can only have a Thread or Requestor scope.
Blue Rose Technologies GmbH
DE
Thanks for the explanation.