Report Sync
  • 23 Sep 2024
  • 1 Minute to read
  • Dark
    Light

Report Sync

  • Dark
    Light

Article summary

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 nameClassDescription
analyticReportsMap<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.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.