Page tree
Skip to end of metadata
Go to start of metadata

What

Required

Description

schema location

WorkflowDescriptors.xml

yes

Definition of workflows

http://fews.wldelft.nl/schemas/version1.0/workflowDescriptors.xsd

Each workflow configured in DELFT-FEWS must be registered in the WorkflowDescriptors configuration. This is required to identify the workflow to DELFT-FEWS (the format of the name is free). The configuration also sets some properties of the workflow.

When available on the file system, the name of the XML file for configuring the WorkflowDescriptors is for example:

WorkflowDescriptors 1.00 default.xml

WorkflowDescriptors                  Fixed file name for the WorkflowDescriptors configuration

1.00                                            Version number

default                                       Flag to indicate the version is the default configuration (otherwise omitted).


Figure 45 Elements of the workflowDescriptor configuration.

workflowDescriptor

Root element of the WorkflowDescriptor. A new element is required for each workflow. Multiple instances may be defined.

Attributes:

  • Id: Id of the workflow. This Id must be unique. Normally a string is used that gives some understanding of the role of the module (e.g. ImportExternal).
  • name: Optional name for the module. Used for reference purposes only.
  • visible: Boolean toggle to indicate if workflow is visible for selection in the manual forecast display. Dependent workflows (e.g. sub-workflows) should not be marked visible so that these cannot be run independently. Default is true.
  • Forecast: Boolean flag to indicated if workflow is identified as a forecast. This should be the case for workflows with simulated time series as a results. Only Forecast workflows can be approved and made current. Import workflows of external data are not forecasts. Default is true.
  • allowApprove. Boolean flag to indicate if workflow may be approved a-priori through manual forecast display (stand-alone only). Default is true.
  • autoApprove. Boolean flag to indicate workflow should automatically be approved a-priori (stand-alone only). Default is false.
  • autoSetSystemTime. Boolean flag to indicate workflow should automatically adjust the system time. When the workflow is completed and is fully or partly successful, the system time wil be set to the start time of the period written by this workflow.
    If the start time is not a valid time in accordance with the cardinal timestep, the next valid time wil be used.
    Default flag value is false. Applicable only on stand-alone.
  • maxEnsembleParts: Positive integer. Determines in how many parts (i.e. forecasting shell instances available) at most the workflow can be split up to run in parallel for ensembles. Ensembles can/will only be split up if this element is specified and the number specified is larger than 1.
  • timeOut (since 2012_02): optional timeout that a workflow is allowed to run before the Forecasting Shell terminates it. This setting is independent of the master controller chaser. Therefore it makes only sense to specify a time out smaller than the master-controller chaser grace time.
  • showWarningInLogCompletion (since 2014.01): Boolean to report whether warning messages were logged during the execution of the workflow, default false.

waterCoachDelaySpanMillis (available since build 33472)

Example:

<waterCoachDelay unit="hour" multiplier="4"/>
timeout

Example:

<timeout unit="minute" multiplier="5"/>