Support Article
LastRun for scheduled tasks has a delay
SA-77027
Summary
The LastRun value for scheduled tasks has a delay of three minutes.
For example, if a report is scheduled at 3 AM, the mail is delayed by 3 minutes.
In the Reporting:Components landing page, the LastRun value displays as 3:03 AM. However, the NextScheduledRunTime value is updated correctly.
Error Messages
Not Applicable
Steps to Reproduce
- Open the report browser.
- Schedule a task.
Root Cause
This behavior is as per Pega product design.
Resolution
Here’s the explanation for the reported behavior:
The LastRun time value depends on the processing time and the number of queue items. The delay for the LastRun time value is an expected behavior according to Pega Product functionality.
The notifications are missed due to the number of waiting queue items which is updated twice before processing.
According to the functionality, the system takes the current updated time of the scheduled task during the processing time and receives the notification as per the configuration.
Published August 19, 2019 - 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.