Enable/Disable Eagle Scheduled Events with an RTR
Available only on environments v2017R2.6 or higher.
Scheduled events can be enabled or disabled by the means of eagle_mc_server_support stream.
Processing details
Toggling a scheduled event is performed by updating EGL_SCHED_DEF (ENABLE field 1/2) table by the EGLSCHED_ENABLE_DISABLE_SCHEDÂ stored procedure:
Example of RTR
Supported parameters for the RTR message:
scheduleId
scheduleName
eventType
option – enable or disable
To enable/disable a schedule event, send the following RTR message to eagle_ml-2-0_default_cm_control_message stream:
<EagleML xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunTaskRequest" eaglemlVersion="2-0" xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd" eaglemlType="RunTaskRequest">
<header>
<messageId>Enable_Disable</messageId>
<sentBy>http://www.client.com</sentBy>
<sendTo>http://www.eagleinvsys.com/eagle_ml-2-0_default_cm_control_message</sendTo>
<replyTo>http://www.client.com/Eagle Control Messages</replyTo>
<creationTimestamp>2012-08-02T22:13:32.272-05:00</creationTimestamp>
</header>
<taskIdentifier>
<correlationId correlationIdScheme="correlationIdScheme">Enable_Disable</correlationId>
<businessTaskId correlationIdScheme="businessTaskIdScheme">Enable_Disable</businessTaskId>
</taskIdentifier>
<taskTypeEnum>NEW</taskTypeEnum>
<taskParameters>
<taskParameter>
<name>StreamName</name>
<dataType>S</dataType>
<value>eagle_mc_server_support</value>
</taskParameter>
<taskParameter>
<name>scheduleId</name>
<dataType>S</dataType>
<value>Daily Prelim Jan31</value>
</taskParameter>
<taskParameter>
<name>option</name>
<dataType>S</dataType>
<value>enable</value>
</taskParameter>
<taskParameter>
<name>updateSource</name>
<dataType>S</dataType>
<value>myname</value>
</taskParameter>
</taskParameters>
</EagleML>
Â