Versions Compared

Key

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

...

Section


Column
width50%

Anchor
workflows
workflows

Scheduling workflows

Scheduled workflows

It is possible to schedule workflows in a script, much like you would schedule tasks in an operational system. This is also useful when multiple Delft-FEWS applications are linked for a combined training with WaterCoach. In such a set-up there will be a need to share data between the systems, like forecasts that are created or changed during the training. This data exchange can be set-up with the help of (dedicated) workflows that are run all through the script.

For any scheduled workflow you can define the first time it is run (with <schedulingStart>, which is relative to displayStart) and the repeat interval (schedulingInterval). This can be done for any workflow available in the folder for this script (i.e. the folder where the script_config.xml is stored).

During the training new forecasts will be made or forecasts will be changed by the participants. These forecasts are (probably) needed in the other system if the WaterCoach training is using multiple connected applications. In order to make the data exchange between the coupled systems easier it is possible to specify workflows that start from a certain start time (linked to the displayStart of the script) and run with an interval during the scenario. Note, this can be any workflow. The workflows should be configured inside the script configuration of the scenario that is used for the combined training. Below is an example of a script where an import and export are run with an interval of ten minutes to import forecasts by the other system from a shared datastore folder created by another Delft-FEWS system and export forecasts to the shared folder for the other systemfor import by this other system. The data is shared through a shared folder. In this way, the trainees do not have to manually import and export data after forecasts are made or modified.


Column



...