...
To change the expiry time of individual forecasts, select the forecasts in the table with the mouse and press [Change Expiry Time]. In the dialog that appears, select a new expiry time and press [Apply] to change the expiry time of the selected forecasts. The expiry time can only be changed for forecasts for which the user has delete permission.
Age dependent background color of current forecasts
By configuring defaultDispatchTimeThreshold and extraDispatchTimeThreshold the background of current forecasts can be changed depending on their age.
For this a ForecastManagement.xml file should be placed in the DisplayConfigFiles configuration folder and the forecast management display should be configured by its displayConfigFileName:
Code Block | ||||
---|---|---|---|---|
| ||||
<explorerTask name="Forecast Management">
...
<displayConfigFileName>ForecastManagement</displayConfigFileName>
...
</explorerTask> |
Code Block | ||||
---|---|---|---|---|
| ||||
<forecastManagement xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/forecastManagement.xsd">
<defaultDispatchTimeThreshold>
<timeThreshold>
<periodLength value="100" unit="day"/>
<color>red</color>
</timeThreshold>
</defaultDispatchTimeThreshold>
<extraDispatchTimeThreshold>
<workflowId>workflowX</workflowId>
<workflowId>other_workflow</workflowId>
<workflowIdPattern>*Validation</workflowIdPattern>
<workflowIdPattern>*DC?M*</workflowIdPattern>
<timeThreshold>
<periodLength value="70" unit="day"/>
<color>green</color>
</timeThreshold>
<timeThreshold>
<periodLength value="80" unit="day"/>
<color>orange</color>
</timeThreshold>
</extraDispatchTimeThreshold>
<extraDispatchTimeThreshold>
<workflowId>another_workflow</workflowId>
<workflowIdPattern>Automatic*</workflowIdPattern>
<timeThreshold>
<periodLength value="70" unit="day"/>
<color>green</color>
</timeThreshold>
<timeThreshold>
<periodLength value="80" unit="day"/>
<color>orange</color>
</timeThreshold>
</extraDispatchTimeThreshold>
</forecastManagement> |
When the time between computer time and last dispatch time exceeds the periodLength, the table cell background wil be colored with the configured color at both the forecast overview and current forecasts tab.
Display configuration
It is possible to add display configuration for forecast management, for more information click here.