- 23 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Report Sync
- Updated on 23 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Purpose
Allows you to run a script to automatically submit reports to an external system at the defined time intervals.
Setup
To set up the extension point, follow these steps:
- Create a Groovy script in Zilliant CPQ.
- Create a system task.
Create a Groovy script
Create a Groovy script in Zilliant CPQ. Select Report Sync as the script type.
For details about creating and configuring Groovy scripts, read Upload a Groovy script.
Create a system task
- From the application left navigation area, select Administration.
- From the top navigation bar, select Master Data Management.
- Scroll or search to locate System Task and select it from the list.
- Select +.
- Select the newly added, empty row. On the Configuration tab, enter or select values to create a task:
- Name—Name of the system task.
- Task Resource—Select ReportSyncJob.
- CRON Expression—Indicate how often to run the task.
- Select Save.
Binding variables
In addition to the common binding variables, the following binding variables are available for this extension point.
Variable name | Class | Description |
---|---|---|
analyticReports | Map<String, List<Map<String, Object>>> | List of available reports and their content. The report content is a list of rows, where each row is a map of a column URI to a field value. |
Expected output
Not applicable.
Script execution
The script of the Report Sync type is run when the ReportSyncJob system task is triggered.