function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bhavneesh SalujaBhavneesh Saluja 

Asynchronous report run in batch Apex.

Hi Folks, 

Currently I am trying to run reports using Analytical Api in Apex Class. However once report refresh is initiated, it takes time to run the reports and report completion status is not fetched immediatly.
So i have written a Batch to ensure the completion of reports run. But as there is a limitation of Analytical APIs that: Asynchronous report run is not supported in batch Apex.
This a big limitation and is bottelneck to functionality i am developing. Can anyone suggest a bypass or workaround, if its implemented previously. 

Thanks in Advance !!!!

Cheers,
Bhavneesh