Loading

Report Instances Stuck in New or Running Status Cause Errors in Salesforce

Дата публикации: Sep 24, 2026
Описание

Report Instances may remain in "Running" status for longer than 30 minutes, at which point they become failed or stuck in this state and cannot be recovered.

Example Scenario

Consider the following Apex code, which executes an asynchronous report run:

Reports.ReportInstance rInstance = Reports.ReportManager.runAsyncReport(reportId, reportMetadata, includeDetails);

When a ReportInstance exceeds the 30-minute run time allowed for an asynchronous run, and this coincides with an application server restart or performance degradation event, the job can become stuck in "New" or "Running" status indefinitely and cannot be recovered.

Решение

This article explains the recommended workaround for Report Instances that are stuck in "New" or "Running" status and cannot be recovered.

Workaround

Clone the current report and move the asynchronous runs to the cloned report instead. When the report is cloned, any usage referencing the previous stuck Report Instance needs to be updated to use the new report's ID or name.

Дополнительные ресурсы

For other relevant articles for Reports please see Salesforce Help! 

Номер статьи базы знаний

000393503

 
Загрузка
Salesforce Help | Article