Report |
The ReportTask type exposes the following members.
Name | Description | |
---|---|---|
BodyScript | Body Razor script executed for the Task. | |
Connection | Current MetaConnection | |
ConnectionGUID | The connection identifier used by the task | |
DefaultBodyScript | Default body script coming from the template | |
DefaultScript | Default script coming from the template | |
Description | Description coming from the template | |
Enabled | If false, the task is ignored and not executed | |
Error | Last error message | |
ExecuteForEachConnection | If true, the task will be executed for each connection defined in the Data Source. If false, only the current connection is used. | |
GUID |
The unique identifier
(Inherited from RootComponent) | |
IgnoreError | If true, errors occuring during the task execution are ignored and the report execution continues | |
Information | Last information message | |
Name |
The name
(Inherited from RootComponent) | |
Parameters | List of Table Parameters | |
ParentTask | Current parent task if any | |
ReferenceTask | Current reference task if any | |
ReferenceTaskGUID | If set, the values of the properties of the task may be taken from the reference task. This applies to Script, SQL and Parameters having their default value. This enables the sharing of property values among different tasks. | |
Report |
The current report
(Inherited from ReportComponent) | |
Repository | Current Repository | |
Retries | Number of retries in case of error | |
RetryDuration | Duration in seconds to wait between each retry | |
Script | Razor script executed for the Task. It may be empty if the SQL Script is defined. | |
SortOrder | Order of the task amongst the tasks of the report | |
Source | Current ReportSource | |
SourceGUID | Identifier of the current report source | |
SQL | SQL Statement executed for the task. It may be empty if a Razor Script is defined. The statement may contain Razor script if it starts with '@'. If the SQL result returns 0, the report is cancelled and the next tasks are not executed. | |
SQLSeparator | Separator used in the SQL Statement to split the script in several sub-scripts and executions (e.g. GO or ;). The SQL statement must contain the separator plus a line feed to be detected. | |
SQLStatements | List of SQL statements to execute | |
Step | The Report Execution Step to execute the task. By default, tasks are executed before the models generation. | |
TaskTemplate | ||
TemplateName | The Razor Script used to execute the task |