...
- Workflows and FSSs >Event and Action Configuration, see also Event and Action Configuration - 2017.02 and before
- Workflows and FSSs > Event Action Mapping, see also Event Action Mappings - 2017.02 and before
- Forecast Tasks > Scheduled Tasks, see also Scheduled Tasks (from 2009.01)- Overview
Event and Action configuration
...
- Status is suspended, or <taskStatus>S</taskStatus>
- Tag is Alarmmodule.alarm, or <taskTag>Alarmmodule.alarm</taskTag>
Note: the screenshot of the Admin Interface doesn't match the example, but shows the tag ALARM_MODULE - Interval is One-off task, or <taskSelection><singleTask><time0>2011-08-23T09:05:00.000Z</time0></singleTask></taskSelection>
- Configure webserviceURL of the Alarmmodule, or <webserviceURL>http://localhost:8989/AlarmModuleManager/webservices/alarmService</webserviceURL>
This is an example based on the IWP system. The webservice of the <alarmModuleAlert> is the URL of the webservice of the alarm module that has been set-up according to the specifications of Imtech. - Alert message is configured as part of the task properties of the scheduled MC_SystemAlerter task, this can be either a
- Fixed alert message, or <alarmDiagLine code="IWP_0_TEST" description="Test Alert from FEWS" source="MC01" level="1"/>, or a
Template alert message, or <alarmDiagTemplateLine code="%EVENT_CODE%" description="%LOG%" source="%MC_ID%" level="1"/>, in which
- %LOG% will be replaced by the message part of log entry that triggered the Event Action
- %EVENT_CODE% will be replaced by the event code of the log entry that triggered the Event Action
- %MC_ID% will be replaced by the MasterController ID creating the log entry that triggered the Event Action
- Fixed alert message, or <alarmDiagLine code="IWP_0_TEST" description="Test Alert from FEWS" source="MC01" level="1"/>, or a
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <taskList xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/taskList.xsd" xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <task> <taskStatus>S</taskStatus> <taskTag>Alarmmodule.alarm</taskTag> <runOnFailOver>false</runOnFailOver> <taskProperties> <description>IWP_0_Alarm</description> <workflowId>MC_SystemAlerter</workflowId> <taskSelection> <singleTask> <time0>2011-08-23T09:05:00.000Z</time0> </singleTask> </taskSelection> <forecastPriority>Normal</forecastPriority> <makeForcastCurrent>false</makeForcastCurrent> <makeStateCurrent>false</makeStateCurrent> <mcSystemAlerter> <alerts> <alarmModuleAlert> <webserviceURL>http://localhost:8989/AlarmModuleManager/webservices/alarmService</webserviceURL> <alarmDiagLine code="IWP_0_TEST" description="Test Alert from FEWS" source="MC01" level="1"/> <!-- <alarmDiagTemplateLine code="%EVENT_CODE%" description="%LOG%" source="%MC_ID%" level="1"/> --> </alarmModuleAlert> </alerts> </mcSystemAlerter> </taskProperties> </task> </taskList> |
...