Skip to main content

Reports

This interface is included in the Core module.

Description​

Each type of report will implement this interface. Implementations need to add attributes with tag ReportParameter to indicate the parameters that the report takes. There also needs to be a corresponding entry/standard item of design designs_reportTypes.

Properties​

This interface has the following properties.

PropertyValue
NameReports
CodedesignInterfaces_reports
TypeInterface
ContextCore
AI agent enabledtrue
AI agent descriptionBase interface implemented by all report designs, providing report name, status, error, and document fields.
Iconicon-reports
Colour#690095  
Title{{attributes_reportsName}}
Subtitle-

Implements​

This interface doesn't implement any other interfaces.

Attributes​

This interface has the following attributes.

Name​

The name of the report.

PropertyValue
NameName
Codeattributes_reportsName
TypeString
Requiredtrue
Uniquefalse
Read-onlytrue
AI agent enabledtrue
Options
{
"max": 128
}

Error​

Any error message generated when running the report.

PropertyValue
NameError
Codeattributes_reportsError
TypeString
Requiredfalse
Uniquefalse
Read-onlyfalse
AI agent enabledtrue
Options
{
"max": 4096
}

Status​

The current status of the report run (e.g. Pending, Running, Complete, Failed).

PropertyValue
NameStatus
Codeattributes_reportsStatus
TypeString
Requiredtrue
Uniquefalse
Read-onlyfalse
AI agent enabledtrue
Options
{
"max": 128,
"defaultValue": "Created"
}

Documents​

Links to one or more output documents generated by this report.

PropertyValue
NameDocuments
Codeattributes_reportsDocuments
TypeLink
Requiredfalse
Uniquefalse
Read-onlyfalse
AI agent enabledtrue
Links toReport Documents
Options
{
"code": "designInterfaces_reportDocuments",
"graph": "Report"
}

Items Reported On​

Links to one or more items that were included in the scope of this report run.

PropertyValue
NameItems Reported On
Codeattributes_reportsItemsReportedOn
TypeLink
Requiredfalse
Uniquefalse
Read-onlyfalse
AI agent enabledtrue
Links toItems
Options
{
"code": "designInterfaces_items",
"graph": "Report",
"weakReference": true
}

Standard paths​

This interface doesn't have any standard paths of its own.

Permissions​

This interface defines the following permissions.

User groupAllowed
Report ViewersRead
Report ManagersRead, Create, Edit, Delete

Default attribute permissions​

This interface applies the following default permissions to all attributes for the following user groups.

AllowedUser groupCode
ReadOnlyReport ViewersuserGroups_reportViewers
ReadWriteReport ManagersuserGroups_reportManagers