If you are talking about TempReportPage in pxRetrieveReportData activity then its been removed in the same activity at the end as seen in Pega 7.2.2. If not this could you let me know which page you are talking about and where exactly you had declared it and what is your use case flow?
Thanks for the response. Here, the Temppage is mentioned in "pyPageName" parameter of pxRetrieveReportData activity to store retrieved results of Report Definition. After this step, we are calling "createWorkPage" to create pyWorkPage in clip board. After this particular step, the TempPage mentioned in the pxRetrieveReportData is removed from the clipboard. This is an intermittent issue and occuring in Prod environment.
Thanks for the response. Actually, the issue is occuring only in Production environment but not in lower environment. I have tried the approach you have mentioned in lower environment but could not trace anything out of it as the issue does not occur in lower environment. Tracer is disabled in Prod environment, hence i cannot trace it there. Is there any other approach i could follow.
One thing i have observed is when "CreateWorkPage" step is executed in Activity, a series of "DB Cache Miss" steps are executed. Is there any chance that this might be a cache issue?
It's not related to cache issue . The page might be there due to an incorrect reference ,say u r checking for a condition and if the page is not there the page will be created , similarly there are other scenarios which can lead to a page creation which will be there till the thread on which the page is created is there in the clipboard . The other scenario could be because u r using the page but u haven't removed the page.
Thanks for mentioning other scenarios where a Temp Page is created. This issue is not occuring frequently. It is working as expected most of the time. But, sometimes the page is removed from the clipboard.This page is used to populate the Workpage before case is created. Since, it is being removed or refreshed, some properties are not getting updated in pyWorkPage.
Do you use the temp page again after copying and creating the work page ? The scenario could be like you are using a temp page to populate the work page and u might be using the same temp page again , a new thread might have started all together which doesn't contain your temp page because of the operations performed by the user and you are getting empty value.
If you can give me the exact scenario the user is performing and how u r using the temp page while creating the work page and after creating the work page then may be I can suggest something.
Please find the exact steps that are being executed in the Activity.
1. A Report Definition is run and populates a page (here, GroupInfo) with the results.
2. CreateWorkPage Activity is called to create the WorkPage.
3. Then the Workpage is populated with the results of this "GroupInfo" Page.
4. After this step, Add Work is called and case is created.
The scenario is working as expected most of the time. But, sometimes GroupInfo Page is getting empty or removed from the clipboard resulting in not populating pyWorkpage with the info that is required to route the case.
NOTE: I have verified GroupInfo page before and after calling CreateWorkPage Activity by keeping a log message. It does have results in it before calling the Activity but it is empty after creating WorkPage.