Support Article
Load Data Page Issue- thread data pages used by multiple threads
SA-36487
Summary
User is asynchronously loading a data page at the beginning of a top level flow using Load-DataPage method.
The activity calling the load-datapage is invoked form a utility shape.
Later in the flow the Connect-wait is used before proceeding to the next step which is calling a subflow.
The Data page is thread level.
Sometimes the load-datapage does not load the Data Page in background when a new work object is created.
It looks like it thinks that the data page is already there in the thread cope even though it is loaded under a different thread (separate work Object).
This is happening sporadically.
Error Messages
Not Applicable
Steps to Reproduce
1. Create a Flow.
2. At the beginning of the flow configure a utility to call an activity with Load-Datapage.
3. Later in any assignment invoke Connect-Wait and access the Datapage loaded earlier.
4. Create work objects repeatedly.
5. Check the Datapage content every time after accessing it.
Root Cause
A defect in Pegasystems’ code because of which rapid queuing of the same data page by means of "Load-DataPage" causes the requests get buffered.
Thus some pending requests are overwritten by new incoming requests before the previous load request can get serviced.
As a result, information expected in a fresh Data page is lost.
Resolution
Apply HFix-27330 to resolve this issue.
Published May 10, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.