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:

statesWorkflowId in ArchiveModuleDisplay
Code Block
<activity>
      <moduleInstanceId>ImportArchivedStates</moduleInstanceId>
</activity>
Code Block
title

Module ImportArchivedStates :

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

...