Versions Compared

Key

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

...

By default the  states are  imported as a part of ‘simulated’ data type, together  with forecast time series,  reports and modifiers.
From 2019.02  it is also possible to import  states only. For this purpose the tag  ‘dataTypeImportWorkflows’  should  been added to ArchiveModuleDisplay.xml,  with ‘statesWorkflowId’  which configures  the id of the workflow to import the states. The  states import workflow  should have importArchiveModule with a tag ‘moduleStatesImportActivity’.  Configuration example can be find below.

Workflow configured with statesWorkflowId  in  ArchiveModuleDisplay:

Code Block
<activity>
      <moduleInstanceId>ImportArchivedStates</moduleInstanceId>
</activity>

Module ImportArchivedStates :

Code Block
<importSimulated>
         <activities>
                 <moduleStatesImportActivity/>
           </activities>
          <importFolder>$ARCHIVE_DOWNLOAD_FOLDER$/simulated</importFolder>
</importSimulated>

When ‘statesWorkflowId’  is configured, and states data set ‘states’ is selected, the “download and import data” button becomes enabled and it is possible to import  the selected states. An  example is given below:  all data sets with states are listed in the table and the ‘Download and import data’  button is enabled.

Image AddedImage Removed

Custom configuration

...