Script API Task - AnalyticsGate/AGR-OnPrem-Setups GitHub Wiki

id

Description

Possibility to set the task id from outside to work better with the results. Only important for developers.

Example

id: 3d264b98-9ba6-4279-b1e9-528db7347282

reports

Description

Contains the reports for the respective task. Currently only one report is supported.

Example

"reports": [
        {
          "connections": {
            "app": "e54a7edb-f49e-4dc2-a41d-7f2d41bc34a1"
          },
          "template": {
            "input": "content:///ExecutiveDashboard.xlsx",
            "output": "='Report_'&only(Region)&'_'&max([Fiscal Year])&'-DEMO.pdf'",
            "selections": [
              {
                "type": "static",
                "name": "Fiscal Year",
                "values": "2014"
              }
            ]
          },
          "distribute": {
            "hub": {
              "active": "true",
              "mode": "DeleteAllFirst",
              "connections": "@CONFIGCONNECTION@"
            }
          }
        }
     ]