Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unexpected REST connector calls

SA-25872

Summary



A Data page is created in Requestor scope. The data source for the data page is a REST Connector.  
The connector appears to call the corresponding web service far too many times for unknown reasons.

 

Error Messages



Not Applicable.


Steps to Reproduce


1. Create a REST connector.
2. Create a datapage and use the above connector as data source.
3. Access a property of data page in ApplicationProfileSetup activityin order to preload the data page upon user login.


Root Cause



An issue in the custom application code or rules,
the usecase is to load the DataPage as soon as a user log into the Portal. the ApplicationProfileSetup activity get called whenever a new requestor get created. This includes child requestors created from H requestors. Some actions from portal creates child B* requestor from H* requestor. 
Because the data page is at requestor level, the creation of child requestors also load the Data page and hence invoking the REST connector.


Resolution



Perform the following local-change steps:
  1. Remove the access of Data Page property (used to trigger the page load) from ApplicationProfileSetup.
  2. Add the Datapage property in a section shown in the Portal with “Hidden Text” control.

 

Suggest Edit

Published July 28, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us