Loading

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

Udgivelsesdato: Sep 24, 2026
Beskrivelse

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.

Løsning

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.

Yderligere ressourcer

For other relevant articles for Reports please see Salesforce Help! 

Vidensartikelnummer

000393503

 
Indlæser
Salesforce Help | Article