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

Scheduled Report Time Zone

SA-60078

Summary



A scheduled report displays date and time in GMT instead of the user's time zone. The time zones display correctly when the scheduled report is sent manually through Designer Studio.


Error Messages



Not Applicable


Steps to Reproduce

  1. Schedule a report.
  2. Receive a report. Times display in GMT.


Root Cause



A defect in Pegasystems’ code or rules.
When a report is exported, the timezone specified by the requestor is considered. During a scheduled export, the server's default timezone is used since the requestor is not an operator. When a scheduled task is run manually through the landing page, the requestor represents the operator who requested the run, and can export the report from the User portal.



Resolution



Perform the following local-change such that all the scheduled tasks use a specified time zone
  1. Customize the EstablishContext activity to set a timezone for the Batch Requestor page.
  2. Save As the activity and include the below Java step in it.

    PRRequestor r = tools.getRequestor();
    ClipboardPage rPage = r.getRequestorPage();
    rPage.putString(“pxReqLocale”,”en_AU”);
    rPage.putString("pyUseTimeZone"," Australia/Sydney "); (specify the desired timezone).

     

Published March 30, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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