You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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. 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. Non-independent 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. 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.

waterCoachDelaySpanMillis (available since build 33472)

Example:

<waterCoachDelaySpanMillis unit="hour" multiplier="4"/>
  • No labels