Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Export time series with a single shared domainParameter at once to pi_tables.xml. All tables within the run period and the last table before or at the start of the run period are exported. FEWS-12927.



exportCsvModuleRunTablesActivity (since 2020.02)

Root element for exporting csv files for Module Run Tables that have been imported for display using the Module Run Table Display component.

Elements of the exportCsvModuleRunTablesActivity section.

  • charset- Optional charset used for reading the csv file. Defaults to ISO-8859-1.
  • description - Optional description only used for reference.
  • exportFile - Path and name of a csv file from the model. This file will be exported.
  • moduleInstanceId - Module instance Id of the module run table to export
  • displayName - display name (optional) of the module run table to export, this can be used when multiple tables have been imported using the same moduleInstanceId.
  • onFailWarnAndContinue - when true GA will log a warning instead of aborting the workflow is a table with the given modulInstanceId cannot be found.

Columns of the Module Run Table will be exported "as-is" to the CSV file.

Configuration example:

In the following example one importCsvModuleRunTablesActivity is specified for a module run table that was imported earlier using the ModuleInstanceId ImportCsvModuleRunTablesActivity. As more than one table may have been imported using that module, the Display name of the table is also given as additional selector.


<exportActivities>
    <importCsvModuleRunTablesActivity>
        <charset>UTF-8</charset>
        <description>Csv Module Data Activity Test case.</description>
        <exportFile>export_csv_module_test1.csv</importFile>
<moduleInstanceId>ImportCsvModuleRunTablesActivity</moduleInstanceId>
        <displayName>Import CSV Module Test1</displayName>
    </importCsvModuleRunTablesActivity>
</importActivities>


Execute Activities


Elements of the ExecuteActivity configuration

...