The engine service includes methods related to report execution. The engineService interface includes the getReportExecutionStatusList and getSchedulerReportExecutionStatusList methods for listing running report jobs or scheduled running report jobs.
The engineService is used internally for report execution. Except for the getReportExecutionStatusList and getSchedulerReportExecutionStatusList methods, methods in the engineService service should not be accessed directly. |
To retrieve the list of all instances of the All Accounts report that are currently running, you would use code similar to this. The list of report jobs retrieved includes scheduled jobs as well as jobs users are running via the UI:
To retrieve only scheduled instances of the All Accounts report that are currently running, you would use code similar to this:
Once you have a list of jobs, you can cancel those jobs using the reportExecutionStatusInformation interface:
Recommended Comments
There are no comments to display.