Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ReportInstance Class
Namespace
ReportInstance Methods
The following are methods for ReportInstance. All are instance methods.
getCompletionDate()
Syntax
public Datetime getCompletionDate()
Return Value
Type: Datetime
getId()
Syntax
public Id getId()
Return Value
Type: Id
getOwnerId()
Syntax
public Id getOwnerId()
Return Value
Type: Id
getReportId()
Syntax
public Id getReportId()
Return Value
Type: Id
getReportResults()
Syntax
public Reports.ReportResults getReportResults()
Return Value
Type: Reports.ReportResults
getRequestDate()
Syntax
public Datetime getRequestDate()
Return Value
Type: Datetime
getStatus()
Syntax
public String getStatus()
Return Value
Type: String
Usage
- New if the report run was recently triggered through a request.
- Success if the report ran.
- Running if the report is being run.
- Error if the report run failed. The instance of a report run can return an error if, for example, your permission to access the report was removed after you requested the run.