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

Data discrepancy between Manual and Scheduled reports



A data discrepancy exists between a scheduled report and the manually downloaded version of the same report, which shows worker productivity.

The number of tasks completed by each worker is greater in the manually downloaded report obtained at 10 PM AEST, compared to the scheduled report received at 11 PM AEST.

Error Messages

Not Applicable

Steps to Reproduce

  1. Run the report manually.
  2. Run the same report using Schedule Task.
    Notice the different results in each report.
    The earlier report, run manually after hours, contains more information than the same after-hours report run as a scheduled report an hour later.

Root Cause

An issue in the custom application code or rules
The Agents of the scheduled report were not using the same required Locale as that of the operators who were running the report manually.


Perform the following local-change:
  1. Copy (SaveAs) the rule UpdateLocaleSettings, which applies to the class Pega-Scheduled-Task-Reporting in the ruleset.
  2. Check out pyExecuteTask of class Pega-Scheduled-Task-Reporting.
  3. Insert a new step with the When condition Call the activity UpdateLocalSettings pxRequestor and specify the Method Parameters
    For example
    useLocale = "en_AU"
    useTimeZone = "Australia/Melbourne"

When Call UpdateLocaleSettings for useLocale, use TimeZone

Suggest Edit

Published March 30, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

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