Basic scenario

It applies to the scenario described in Business scenario.

<?xml version="1.0"?>
<eventRuleSet>
        <eventRule name="Monitor_FTP" ruleType="filter" isDraft="no">
          <description>To monitor data sent by FTP</description>
          <eventCondition eventProvider="SMF" eventType="ModificationCompleted">
            <FilteringPredicate> 
                <attributeFilter name="FileName" operator="eq">
                    <value>TWSDEV.FALSI.TWS</value>
                </attributeFilter>
                <attributeFilter name="Destination" operator="eq">
                    <value>destX</value>
                </attributeFilter>
            </filteringPredicate>
          </eventCondition>
          <action actionProvider="Tracker" actionType="SpecialResourceEvent" 
                  reponseType="onDetection"
            <description>Set TWSDEV.FALSI.TWS special res to available</description>
            <parameter name="Availability">
              <value>Yes</value>
            </parameter>
            <parameter name="LifeSpanAction">
              <value>No</value>
            </parameter>
            <parameter name="LifeSpanTime">
              <value>60</value>
            </parameter>
          </action>
        </eventRule>
</eventRuleSet>