Report Sync

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:

  1. Create a Groovy script in Zilliant CPQ.
  2. 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

  1. From the application left navigation area, select Administration.
  2. From the top navigation bar, select Master Data Management.
  3. Scroll or search to locate System Task and select it from the list.
  4. Select +.
  5. 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.
  6. 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.