This extension allows submitting reports that have been defined to an external system. Note that this feature is currently regarded as being in beta status. This submission will be performed repeatedly automatically as a scheduled task.
Initial Setup
- Create a new Groovy Script with the type “Report Sync”. Please refer to Groovy Service Introduction - Uploading a New Groovy Script for more details of how to do this.
- Create a new System Task from Administration > Master Data Management > System Task. Set the “Task Resource” field to be “ReportSyncJob” and the “CRON Expression” field according to how frequently you wish the task to be run.
Additional Binding Variables
The following binding variable(s) are made available for this extension point, in addition to the common binding variables listed in Groovy Service Introduction - Common Binding Variables.
Variable Name |
Class |
Description |
---|---|---|
analyticReports |
Map<String, List<Map<String, Object>>> |
The list of reports available in the system and its content. |
The list of reports available in the system can be viewed at Insights > Reports. The report content is represented as a List of rows, where each row is represented as a map of the column URI to cell value.
Expected Output
N.A.
Script Execution
All scripts of type “Report Sync” will be executed when the system task with task resource of “ReportSyncJob” is triggered according to its CRON expression.
Comments
0 comments
Article is closed for comments.