Executes and distributes a report. Similar to scheduling a report to execute, except a schedule is not required to utilize this function. This is a great way to distribute the report on demand from a Client. Throws an IllegalArgumentException when any of the following occurs: If the file type is not recognized, path does not exist, project does not exist, or a key is not valid.
system.report.executeAndDistribute(path, project, [parameters], action, [actionSettings])
String path - The path to the existing report.
String project - The name of the project where the report is located. Optional in Client scope. Optional in Session scope.
Dictionary[String, Integer] parameters - A dictionary of parameter overrides, in the form name:value pairs. [optional]
String action - The name of the distribution action to use. The action parameter supports the following keys as strings:
Dictionary[List, Any] actionSettings - A dictionary of settings particular to the action. Missing values will use the default value for that action. [optional]
Gateway, Vision Client, Perspective Session
The action settings parameter supports an optional dictionary of settings particular to the action. Missing values will use the default value for that action.
Acceptable values are:
system report executeAndDistribute, report.executeAndDistribute