
List Asynchronous Runs of a Report You can get as many as 2000 instances of a report for which you requested asynchronous runs by sending a GET request to the Instances List resource. The instance list is sorted by the date when the run was requested.
Full Answer
Should I run reports through the Salesforce API asynchronously?
Run a report synchronously if you expect it to finish running quickly. Otherwise, we recommend that you run reports through the Salesforce API asynchronously for these reasons: Long-running reports have a lower risk of reaching the timeout limit when they are run asynchronously.
How do I run reports in Salesforce?
Available in: both Salesforce Classic ( not available in all orgs ) and Lightning Experience Available in: Essentials, Group, Professional , Enterprise, Performance, Unlimited, and Developer Editions To run a report, find it on the Reports tab and click the report name. Most reports run automatically when you click the name.
What is queue-based asynchronous processing in Salesforce?
We use the same queue-based asynchronous processing architecture in Salesforce too. Each asynchronous request is processed first in the queue, stored for recovery reasons, and de-queued for execution in multiple organizations within each instance.
What is the difference between long-running reports and asynchronous runs?
Long-running reports have a lower risk of reaching the timeout limit when they are run asynchronously. The two-minute overall Salesforce API timeout limit doesn’t apply to asynchronous runs. The Salesforce Reports and Dashboards API via Apex can handle a higher number of asynchronous run requests at a time.

What are the advantages of running reports asynchronously through the API?
Run a report synchronously if you expect it to finish running quickly. Otherwise, we recommend that you run reports through the API asynchronously for these reasons: Long running reports have a lower risk of reaching the timeout limit when run asynchronously.
How do you run a report in Salesforce?
To run a report, find it on the Reports tab and click the report name. Most reports run automatically when you click the name. Click the Reports tab. If you're already viewing a report, click Run Report to run it.
How do I run a report in Salesforce lightning?
From the reports tab, click New Report.Choose a report type, then click Continue. ... The report opens in edit mode, and shows a preview. ... To add a column to your report, ... To summarize a column in your report, ... To group records in your report, ... To filter records from your report, click.More items...
How do you run a report?
Navigate to the folder that contains the report you want to run. Click the name of the report to run the report. If the Wait Page appears as your report is executing, you can click Add to my History List to automatically save a copy of the report in your History List when the report is finished executing.
How long are asynchronous reports stored?
Because the results of an asynchronously run report are stored for a 24-hour rolling period, they’re available for recurring access.
Can you run a report asynchronously?
You can run a report synchronously or asynchronously through the Salesforce Reports and Dashboards API via Apex.
Does Salesforce have a timeout limit?
The two-minute overall Salesforce API timeout limit doesn’t apply to asynchronous runs.
Can Salesforce report be run without details?
Reports can be run with or without details and can be filtered by setting report metadata. When you run a report, the API returns data for the same number of records that are available when the report is run in the Salesforce user interface. Run a report synchronously if you expect it to finish running quickly.
