Multiple Alerts for one Monitor

Hi All,
I have a MP to monitor a scheduled task and get the last run status of the task and fire an alert if it is sort of not running.
The alert is getting generated and getting closed for every 15 min(schedule time of the monitor). But this alert is getting repeated. I dont see any fault in my mp.
and the code goes this way:
<?xml version="1.0" encoding="utf-8"?>
<ManagementPack SchemaVersion="2.0" ContentReadable="true" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Manifest>
    <Identity>
      <ID>ReviewerRecommendationNightlyJob</ID>
      <Version>1.0.0.26</Version>
    </Identity>
    <Name>ReviewerRecommendationNightly</Name>
    <References>
      <Reference Alias="Windows">
        <ID>Microsoft.Windows.Library</ID>
        <Version>7.5.8501.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
      <Reference Alias="Health">
        <ID>System.Health.Library</ID>
        <Version>7.0.8433.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
      <Reference Alias="System">
        <ID>System.Library</ID>
        <Version>7.5.8501.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
    </References>
  </Manifest>
  <TypeDefinitions>
    <EntityTypes>
      <ClassTypes>
        <ClassType ID="Reviewer.Recommendation.Nightly.ScheduleTaskService" Accessibility="Public" Abstract="false" Base="Windows!Microsoft.Windows.LocalApplication" Hosted="true" Singleton="false"
Extension="false" />
        <ClassType ID="Reviewer.Recommendation.Nightly.rrn" Accessibility="Public" Abstract="false" Base="Windows!Microsoft.Windows.ApplicationComponent" Hosted="true" Singleton="false"
Extension="false">
          <Property ID="Path" Type="string" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0"
/>
          <Property ID="ID" Type="string" AutoIncrement="false" Key="true" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0"
/>
        </ClassType>
      </ClassTypes>
      <RelationshipTypes>
        <RelationshipType ID="Reviewer.Recommendation.Nightly.ScheduleTaskServicehostTask.rrn" Accessibility="Public" Abstract="false" Base="System!System.Hosting">
          <Source ID="Source" MinCardinality="0" MaxCardinality="2147483647" Type="Reviewer.Recommendation.Nightly.ScheduleTaskService" />
          <Target ID="Target" MinCardinality="0" MaxCardinality="2147483647" Type="Reviewer.Recommendation.Nightly.rrn" />
        </RelationshipType>
      </RelationshipTypes>
    </EntityTypes>
    <ModuleTypes>
      <DataSourceModuleType ID="Reviewer.Recommendation.Nightly.ScheduledTask.ClassDiscovery" Accessibility="Public" Batching="false">
        <Configuration>
          <IncludeSchemaTypes>
            <SchemaType>System!System.Discovery.MapperSchema</SchemaType>
            <SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
          </IncludeSchemaTypes>
          <xsd:element minOccurs="1" name="IntervalSeconds" type="xsd:integer" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
          <xsd:element minOccurs="1" name="SyncTime" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
          <xsd:element minOccurs="1" name="TargetComputer" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
          <xsd:element minOccurs="1" name="Expression" type="ExpressionType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
          <xsd:element minOccurs="1" name="ClassId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
          <xsd:element minOccurs="1" name="InstanceSettings" type="SettingsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
        </Configuration>
        <OverrideableParameters>
          <OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int" />
          <OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string" />
        </OverrideableParameters>
        <ModuleImplementation Isolation="Any">
          <Composite>
            <MemberModules>
              <DataSource ID="SimpleScheduler" TypeID="System!System.SimpleScheduler">
                <IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
                <SyncTime>$Config/SyncTime$</SyncTime>
              </DataSource>
              <ProbeAction ID="ScheduledTaskProbe" TypeID="Reviewer.Recommendation.Nightly.ScheduledTask.Probe">
                <TargetComputer>$Config/TargetComputer$</TargetComputer>
              </ProbeAction>
              <ConditionDetection ID="FilteredClassSnapshotDataMapper" TypeID="System!System.Discovery.FilteredClassSnapshotDataMapper">
                <Expression>$Config/Expression$</Expression>
                <ClassId>$Config/ClassId$</ClassId>
                <InstanceSettings>$Config/InstanceSettings$</InstanceSettings>
              </ConditionDetection>
            </MemberModules>
            <Composition>
              <Node ID="FilteredClassSnapshotDataMapper">
                <Node ID="ScheduledTaskProbe">
                  <Node ID="SimpleScheduler" />
                </Node>
              </Node>
            </Composition>
          </Composite>
        </ModuleImplementation>
        <OutputType>System!System.Discovery.Data</OutputType>
      </DataSourceModuleType>
      <ProbeActionModuleType ID="Reviewer.Recommendation.Nightly.ScheduledTask.Probe" Accessibility="Public" Batching="false" PassThrough="false">
        <Configuration>
          <xsd:element minOccurs="1" name="TargetComputer" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
        </Configuration>
        <ModuleImplementation Isolation="Any">
          <Composite>
            <MemberModules>
              <ProbeAction ID="Probe" TypeID="Windows!Microsoft.Windows.ScriptPropertyBagProbe">
                <ScriptName>ScheduledTask.Probe.Script.vbs</ScriptName>
                <Arguments>$Config/TargetComputer$</Arguments>
                <ScriptBody>
                  Option Explicit
                  Dim oArgs, strTargetComputer, strOutput
                  Set oArgs = WScript.Arguments
                  strTargetComputer = oArgs(0)
                  'create the container for the properties
                  Dim oAPI, oBag
                  Set oAPI = CreateObject("MOM.ScriptAPI")
                  strOutput = "Ouput from script"
                  'Finding the Operating System version, as this will impact how we discover tasks later on
                  'W2KorWXP=Windows 2000 Professional or Server, or Windows XP
                  'W2K3=Windows Server 2003
                  'W2K8orHigher=Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2 =&gt; Where tasks can be accessed using scripting
                  Dim strComputer, objWMIService, colOperatingSystems, objOperatingSystem, HostVersion
                  strComputer = strTargetComputer
                  Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &amp; strComputer &amp; "\root\cimv2")
                  Set colOperatingSystems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem")
                  For Each objOperatingSystem in colOperatingSystems
                  If (Left(objOperatingSystem.Version, 3) = "5.0" or Left(objOperatingSystem.Version, 3) = "5.1") Then HostVersion = "W2KorWXP"
                  If (Left(objOperatingSystem.Version, 3) = "5.2") Then HostVersion = "W2K3"
                  If (Left(objOperatingSystem.Version, 3) = "6.0" or Left(objOperatingSystem.Version, 3) = "6.1" or objOperatingSystem.Version = "6.3.9600") Then HostVersion = "W2K8orHigher"
                  Next
                  strOutput = strOutput &amp; Chr(10) &amp; "HostVersion: " &amp; HostVersion
                  'Discovering scheduled tasks, using a different technique
                  'A different technique is used for Windows Server 2003 and earlier (schtasks.exe) and for Windows Server 2008 and higher (scripting)
                  'Actions of type Command Line are also discovered for Windows Server 2008 and later (so we can monitor their executable target existence
                  Dim intRow
                  intRow = 1
                  If (HostVersion = "W2K8orHigher") Then
                  Dim rootFolder, service
                  Set service = CreateObject("Schedule.Service")
                  call service.Connect()
                  Set rootFolder = service.GetFolder("\")
                  Call GetTasks(rootFolder)
                  End If
                  'return the container to SCOM
                  Call oAPI.ReturnItems()
                  Call oAPI.LogScriptEvent("ScheduledTaskProbe.vbs", 112, 0, strOutput)
                  Function GetTasks(oFolder)
                  Dim taskCollection , registeredTask, oFld
                  Set taskCollection = oFolder.GetTasks(0)
                  If taskCollection.Count &lt;&gt; 0 Then
                  For Each registeredTask In taskCollection
                  Set oBag = oAPI.CreatePropertyBag()
                  Call oBag.AddValue("RowNumber", intRow)
                  intRow = intRow + 1
                  Call oBag.AddValue("TaskName", registeredTask.Name)
                  Call oBag.AddValue("TaskUserId", registeredTask.Definition.Principal.UserId)
                  Call oBag.AddValue("TaskEnabled", registeredTask.Enabled)
                  Call oBag.AddValue("TaskAuthor", registeredTask.Definition.RegistrationInfo.Author)
                  Call oBag.AddValue("TaskPath", registeredTask.Path)
                  Call oBag.AddValue("TaskStatus", registeredTask.LastTaskResult)
                  Call oBag.AddValue("TaskLastTaskResult", registeredTask.LastTaskResult)
                  Call oBag.AddValue("TaskLastRunTime", registeredTask.LastRunTime)
                  Call oBag.AddValue("TaskNextRunTime", registeredTask.NextRunTime)
                  Call oBag.AddValue("TaskState", registeredTask.State)
                  Call oBag.AddValue("TaskNumberOfMissedRuns", registeredTask.NumberOfMissedRuns)
                  Call oBag.AddValue("TaskMinutesSinceLastRunTime", DateDiff("n", registeredTask.LastRunTime, Now()))
                  Call oBag.AddValue("TaskMinutesUntilNextRunTime", DateDiff("n", Now(), registeredTask.NextRunTime))
                  Call oBag.AddValue("TaskDescription", registeredTask.Definition.RegistrationInfo.Description)
                  oAPI.AddItem(oBag)
                  strOutput = strOutput &amp; Chr(10) &amp; "Task: " &amp; registeredTask.Name
                  Next
                  End If
                  For each oFld in oFolder.GetFolders(0)
                  Call GetTasks(oFld)
                  Next
                  End Function
                </ScriptBody>
                <TimeoutSeconds>300</TimeoutSeconds>
              </ProbeAction>
            </MemberModules>
            <Composition>
              <Node ID="Probe" />
            </Composition>
          </Composite>
        </ModuleImplementation>
        <OutputType>System!System.PropertyBagData</OutputType>
        <InputType>System!System.TriggerData</InputType>
      </ProbeActionModuleType>
    </ModuleTypes>
    <MonitorTypes>
      <UnitMonitorType ID="Reviewer.Recommendation.Nightly.ScheduledTask.MonitorType" Accessibility="Public">
        <MonitorTypeStates>
          <MonitorTypeState ID="GreenState" NoDetection="false" />
          <MonitorTypeState ID="RedState" NoDetection="false" />
        </MonitorTypeStates>
        <Configuration>
          <IncludeSchemaTypes>
            <SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
          </IncludeSchemaTypes>
          <xsd:element minOccurs="1" name="IntervalSeconds" type="xsd:integer" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
          <xsd:element minOccurs="1" name="SyncTime" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
          <xsd:element minOccurs="1" name="TargetComputer" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
          <xsd:element minOccurs="1" name="RedExpression" type="ExpressionType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
          <xsd:element minOccurs="1" name="GreenExpression" type="ExpressionType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
        </Configuration>
        <MonitorImplementation>
          <MemberModules>
            <DataSource ID="SimpleScheduler" TypeID="System!System.SimpleScheduler">
              <IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
              <SyncTime>$Config/SyncTime$</SyncTime>
            </DataSource>
            <ProbeAction ID="ScheduledTaskProbe" TypeID="Reviewer.Recommendation.Nightly.ScheduledTask.Probe">
              <TargetComputer>$Config/TargetComputer$</TargetComputer>
            </ProbeAction>
            <ConditionDetection ID="GreenExpressionFilter" TypeID="System!System.ExpressionFilter">
              <Expression>$Config/GreenExpression$</Expression>
            </ConditionDetection>
            <ConditionDetection ID="RedExpressionFilter" TypeID="System!System.ExpressionFilter">
              <Expression>$Config/RedExpression$</Expression>
            </ConditionDetection>
          </MemberModules>
          <RegularDetections>
            <RegularDetection MonitorTypeStateID="GreenState">
              <Node ID="GreenExpressionFilter">
                <Node ID="ScheduledTaskProbe">
                  <Node ID="SimpleScheduler" />
                </Node>
              </Node>
            </RegularDetection>
            <RegularDetection MonitorTypeStateID="RedState">
              <Node ID="RedExpressionFilter">
                <Node ID="ScheduledTaskProbe">
                  <Node ID="SimpleScheduler" />
                </Node>
              </Node>
            </RegularDetection>
          </RegularDetections>
        </MonitorImplementation>
      </UnitMonitorType>
    </MonitorTypes>
  </TypeDefinitions>
  <Monitoring>
    <Discoveries>
      <Discovery ID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.rrn.Discovery" Target="Reviewer.Recommendation.Nightly.ScheduleTaskService" Enabled="true" ConfirmDelivery="false"
Remotable="true" Priority="Normal">
        <Category>Discovery</Category>
        <DiscoveryTypes />
        <DataSource ID="Task.Class.Discovery.DS" TypeID="Reviewer.Recommendation.Nightly.ScheduledTask.ClassDiscovery">
          <IntervalSeconds>900</IntervalSeconds>
          <SyncTime></SyncTime>
          <TargetComputer>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</TargetComputer>
          <Expression>
            <RegExExpression>
              <ValueExpression>
                <XPathQuery>Property[@Name='TaskName']</XPathQuery>
              </ValueExpression>
              <Operator>ContainsSubstring</Operator>
              <Pattern>ReviewerRecommendationNightlyJob</Pattern>
            </RegExExpression>
          </Expression>
          <ClassId>$MPElement[Name="Reviewer.Recommendation.Nightly.rrn"]$</ClassId>
          <InstanceSettings>
            <Settings>
              <Setting>
                <Name>$MPElement[Name="Reviewer.Recommendation.Nightly.rrn"]/ID$</Name>
                <Value>$Data/Property[@Name='TaskName']$</Value>
              </Setting>
              <Setting>
                <Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                <Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
              </Setting>
              <Setting>
                <Name>$MPElement[Name="Reviewer.Recommendation.Nightly.rrn"]/Path$</Name>
                <Value>$Data/Property[@Name='TaskPath']$</Value>
              </Setting>
              <Setting>
                <Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
                <Value>$Data/Property[@Name='TaskName']$</Value>
              </Setting>
            </Settings>
          </InstanceSettings>
        </DataSource>
      </Discovery>
      <Discovery ID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.ScheduleTaskService.Discovery" Target="Windows!Microsoft.Windows.Computer" Enabled="true" ConfirmDelivery="false"
Remotable="true" Priority="Normal">
        <Category>Discovery</Category>
        <DiscoveryTypes />
        <DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
          <NameSpace>\\$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$\ROOT\CIMV2</NameSpace>
          <Query>select * from Win32_Service where Name='Schedule' and StartMode='Auto'</Query>
          <Frequency>900</Frequency>
          <ClassId>$MPElement[Name="Reviewer.Recommendation.Nightly.ScheduleTaskService"]$</ClassId>
          <InstanceSettings>
            <Settings>
              <Setting>
                <Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
              </Setting>
              <Setting>
                <Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
                <Value>ReviewerRecommendationNightly</Value>
              </Setting>
            </Settings>
          </InstanceSettings>
        </DataSource>
      </Discovery>
    </Discoveries>
    <Monitors>
      <UnitMonitor ID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.rrn.LastStatus" Accessibility="Internal" Enabled="true" Target="Reviewer.Recommendation.Nightly.rrn" ParentMonitorID="Health!System.Health.AvailabilityState"
Remotable="true" Priority="Normal" TypeID="Reviewer.Recommendation.Nightly.ScheduledTask.MonitorType" ConfirmDelivery="false">
        <Category>AvailabilityHealth</Category>
        <AlertSettings AlertMessage="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.rrn.LastStatus.AlertMessage">
          <AlertOnState>Error</AlertOnState>
          <AutoResolve>true</AutoResolve>
          <AlertPriority>Normal</AlertPriority>
          <AlertSeverity>Error</AlertSeverity>
        </AlertSettings>
        <OperationalStates>
          <OperationalState ID="GreenState" MonitorTypeStateID="GreenState" HealthState="Success" />
          <OperationalState ID="RedState" MonitorTypeStateID="RedState" HealthState="Error" />
        </OperationalStates>
        <Configuration>
          <IntervalSeconds>900</IntervalSeconds>
          <SyncTime></SyncTime>
          <TargetComputer>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</TargetComputer>
          <RedExpression>
            <And>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <XPathQuery>Property[@Name='TaskName']</XPathQuery>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <Value>$Target/Property[Type="Reviewer.Recommendation.Nightly.rrn"]/ID$</Value>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <XPathQuery>Property[@Name='TaskPath']</XPathQuery>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <Value>$Target/Property[Type="Reviewer.Recommendation.Nightly.rrn"]/Path$</Value>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
              <Expression>
                <Or>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>NotEqual</Operator>
                      <ValueExpression>
                        <Value>0</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>NotEqual</Operator>
                      <ValueExpression>
                        <Value>267009</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>NotEqual</Operator>
                      <ValueExpression>
                        <Value>267011</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>NotEqual</Operator>
                      <ValueExpression>
                        <Value>2147750687</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>NotEqual</Operator>
                      <ValueExpression>
                        <Value>267012</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                </Or>
              </Expression>
            </And>
          </RedExpression>
          <GreenExpression>
            <And>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <XPathQuery>Property[@Name='TaskName']</XPathQuery>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <Value>$Target/Property[Type="Reviewer.Recommendation.Nightly.rrn"]/ID$</Value>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <XPathQuery>Property[@Name='TaskPath']</XPathQuery>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <Value>$Target/Property[Type="Reviewer.Recommendation.Nightly.rrn"]/Path$</Value>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
              <Expression>
                <Or>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>Equal</Operator>
                      <ValueExpression>
                        <Value>0</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>Equal</Operator>
                      <ValueExpression>
                        <Value>267009</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>Equal</Operator>
                      <ValueExpression>
                        <Value>267011</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>Equal</Operator>
                      <ValueExpression>
                        <Value>2147750687</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                  <Expression>
                    <SimpleExpression>
                      <ValueExpression>
                        <XPathQuery>Property[@Name='TaskStatus']</XPathQuery>
                      </ValueExpression>
                      <Operator>Equal</Operator>
                      <ValueExpression>
                        <Value>267012</Value>
                      </ValueExpression>
                    </SimpleExpression>
                  </Expression>
                </Or>
              </Expression>
            </And>
          </GreenExpression>
        </Configuration>
      </UnitMonitor>
    </Monitors>
  </Monitoring>
  <Presentation>
    <StringResources>
      <StringResource ID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.rrn.LastStatus.AlertMessage" />
    </StringResources>
  </Presentation>
  <LanguagePacks>
    <LanguagePack ID="ENU" IsDefault="true">
      <DisplayStrings>
        <DisplayString ElementID="Reviewer.Recommendation.Nightly.ScheduleTaskService">
          <Name>Reviewer Recommendation Nightly class</Name>
          <Description>class for ReviewerRecommendationNightly Job</Description>
        </DisplayString>
        <DisplayString ElementID="Reviewer.Recommendation.Nightly.rrn">
          <Name>Reviewer Recommendation Nightly rrn class</Name>
          <Description>class for ReviewerRecommendationNightly Job</Description>
        </DisplayString>
        <DisplayString ElementID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.rrn.Discovery">
          <Name>ReviewerRecommendationNightlyDiscovery</Name>
          <Description>Discovery for Reviewer Recommendation Nightly Job</Description>
        </DisplayString>
        <DisplayString ElementID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.rrn.LastStatus">
          <Name>ReviewerRecommendationNightlyMonitor</Name>
          <Description>Description for the new unit monitor.</Description>
        </DisplayString>
        <DisplayString ElementID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.rrn.LastStatus.AlertMessage">
          <Name>ReviewerRecommendationNightlyAlert</Name>
          <Description>This alert is to notify that the Task Reviewer Recommendation is not in working state</Description>
        </DisplayString>
        <DisplayString ElementID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.rrn.LastStatus" SubElementID="GreenState">
          <Name>GreenState</Name>
          <Description>GreenState</Description>
        </DisplayString>
        <DisplayString ElementID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.rrn.LastStatus" SubElementID="RedState">
          <Name>RedState</Name>
          <Description>RedState</Description>
        </DisplayString>
        <DisplayString ElementID="ReviewerRecommendationNightlyJob.Reviewer.Recommendation.Nightly.ScheduleTaskService.Discovery">
          <Name>ReviewerRecommendationNightly ScheduleTaskService Discovery</Name>
          <Description>Discovery for Reviewer Recommendation Nightly Job</Description>
        </DisplayString>
      </DisplayStrings>
      <KnowledgeArticles></KnowledgeArticles>
    </LanguagePack>
  </LanguagePacks>
</ManagementPack>
Regards, Mahadev Sundeep Maruvada

Hi,
Why not to use a event based monitor to detect the Task Schedule running status? I am not familar with VB script, the suggestion I can give is you need to check if the script cannot properly detect the running result of the task Schedule.
Juke Chou
TechNet Community Support

Similar Messages

  • How do I set up multiple alerts for one event?

    So, I'm currently using MS Exchange to sync my google calendar with my iphone5, and almost everything's working pretty nicely, events would get pushed to my phone right away as I put it on my computer. But the thing is, my phone will only alert me for the earliest alert if I had multiple alerts set up for one event on google calendar. How can I fix it? Any advice would be appreciated!

    I have a similar issue with a slight twist.
    I have 'My Card' setup properly, however, I do have 5 email addresses that I use and these are listed on 'My Card'.  When I select the option to add an email alert on a calendar event, the app is picking up two addresses from the set of 5 and makes me pick one.
    I would like to select one of the other addresses to be the default for sending out the alerts.  Is there a way to do that.  If it is helpful, the app is picking up 2 of the 'Work' email addresses.  I don't know if the home vs work designation would make a difference.
    Note: I am looking for a solution to pick one a specific address from the contact card to send out the alert email.  I am NOT looking to have a discussion as to why I have 5 addresses.
    Thanks

  • Multiple Settings for One Monitor

    I have my monitor set to the way I like it, it shows colors accurately and not overly bright (white doesn't blind me). However I edit photos for the web in PS and this is great for my screen but I have noticed when looking at other screens my photos will at times looked washed out and not a good presentation. If I manually change my monitor settings to be brighter (and a few other tweaks) I can replicate the look of other monitors close enough to help prevent washed out/blown out photos. Here is the issue, I need to be able to change settings between the two fairly easily. To manually set my monitor for one then back to the other can be time consuming and a pain to set right every time.
    I would like to be able to preset certain settings (in software) that I can quickly switch between by pressing hotkeys or clicking shortcut on my desktop. I have an AMD video card and have attempted to use the AMD VISION Engine Control Center to add presets then tweak the settings for each. However when I switch between the presets the settings are the same.
    How do I build presets using the VISION Engine Control Center that actually works (maybe I misunderstand what it is saving?) or is there a way to do this in Windows 7 or free software that actually works decently for this purpose?
    Note: I post this here as I assume someone here has done this or seen soemthing like this.
    Thanks!

    Hi,
    Why not to use a event based monitor to detect the Task Schedule running status? I am not familar with VB script, the suggestion I can give is you need to check if the script cannot properly detect the running result of the task Schedule.
    Juke Chou
    TechNet Community Support

  • Multiple alerts for one message

    Seems like a silly issue, but whenever I receive a message I get two vibrations/beeps from the Touchpad instead of one (what I was expecting). Is there a setting I am missing?
    Also, I don't really need a noise/vibration for outgoing messages. Can this be disabled?
    Thanks everyone!
    Post relates to: HP TouchPad (WiFi)

     Yes, you can disable the vibrate function under Sounds & Ringtones, turn off Vibrate.
    I have not heard of double alerts and have not experienced this on my own Touchpad. You may want to perform a restart on your device to see if this will resolve this issue.

  • Multiple alerts for the same Message ID

    Hi
    I have configured outbound ftp adapter. I have configured alerts inorder to capture any error in the adapter engine.
    Now,alert is triggered showing an error in the ftp adapter ( say incorrect ftp details). But i get multiple alerts for the same message ID several times. I have also set the parameter Max No od Delvs to 1 in the ALRTCATDEF transaction.
    I keep getting the same alert number of times a day. How can i restrict the number of alerts to 1 for 1 message ID.
    Regards,
    Vani

    Hello Andreas,
    Thanks for your reply.
    In my scenario i would need an alert per Message. That is the reason why I have not checked the option "Supress Multiple Alerts" since it would allow only alert per rule.
    Is there is any way we can get one alert per message.
    Also, after correcting the eror in the file adapter will the file which was not placed due to error in the adapter be placed automatically. I wanted to know what would happen to the lost file or unprocessed file since it dint reach the destination due to error.
    Regards,
    Vani

  • Multiple Alerts for Single error in interface is a design not issue with XI

    Hi,
    This is constraint of alert mechanism in XI.
    You get multiple alerts for single error,the reason is that since XI will try multiple times to process a failed message so each time it fails in its tries it will send an e-mail.to stop this the "Suppress multiple alert" box is checked but what it does is that it stops all the alerts of that specific rule until the first one is confirmed.Personally i myself (and other experts too) suggest to leave the box unchecked coz its better to get tons of mails for a specific error rather than not getting any e-mail and thereby wasting time in tracking/solving the issue resulting in revenue loss to client.
    As per above comments is it possible to write an ABAP code so that we can stop multiple alerts to be sending to inbox. I am sure if we can delete message from some table then we can stop sending multiple messages to alert inbox and to the subsequent mail id also. I am not sure how alert being generated. I know where they get logged in this table sxmsalertlogger. If someone know how it works in background please let me know the table names.
    Regards
    Ria

    Hi Gaurav,
    You can personalize the way in which you receive alerts.
    Simply choose Personalization to make individual settings for your alert inbox. You can determine a substitute who will then receive the alerts. In addition, you can choose whether alerts are sent to you time-independently or time-dependently. The default setting is that alerts are sent time-independently to your alert inbox and via e-mail when they occur. You can additionally select the communication methods FAX and SMS for time-independent alert notification.
    If you want to receive alerts only on certain days for a certain time, simply select the option for time-dependent sending of alerts and choose Create to create a new table entry. You can then choose the corresponding factory calendar, the time interval, and communication channel. Alerts that arise during this time frame will be sent in any case to your alert inbox. If you have also selected other communication channels, the alerts are additionally sent to you using these other channels. 
    This above text is from SAP help, do you think by changing anything in personnalisation i can stop multiple alerts. I have some issue with Personalisation link so was wondering would be worth to get tht personalisation issue resolved.
    Regards
    Ria

  • Can you have multiple users for one account?

    Can you have multiple users for one account? if so how do you set it up.
    We are using it for our department and it would be great to see who created what form instead of it being all one name.

    Each person should have their own account. You can easily share the forms with other people in your department. You will be able to see who the author of the form is.
    More information on how to share :
    http://forums.adobe.com/docs/DOC-2462
    Information on how to copy a forms to a different account :
    http://forums.adobe.com/docs/DOC-1390
    Hope this helps
    Gen

  • How do i scan multiple pages for one attachment

    I know how to scan but I don't know how to scan multiple pages for one attachement....Help please

    Hi dagda24,
    You can scan multiple pages into a single document with the scan to PDF option.  Use the following steps to do so:
    1.  Open MP Navigator.
    2.  Click One Clcik.
    3.  Click Save to PC.
    4.  Change the File Type from PDF to PDF (multiple pages).
    5.  Make any other changes as needed, then click scan.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to open multiple sessions for one user?

    Sorry for the silly question but I couldn't find it googling or searching through this forum, so I started wondering whether it's possible in SQL Developer to open multiple sessions for one user. I'm fairly new to SQL Developer and databases in general.
    When I open SQL Developer and connect to a schema, a worksheet opens named MYSCHEMA. If I disconnect then connect, another worksheet opens, named MYSCHEMA~1. I assumed these were different sessions, but if I enter into one worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 1
    update my_table set col1 = 0 where row_id = 1
    select col1 from my_table where row_id = 1
    -- shows result is 0and then enter into the second worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 0I would have expected the second worksheet to report 1 because the first worksheet did not issue a COMMIT. Thus, I'd guess both worksheets are the same session? Is that right? If so, how do I have two sessions open simultaneously (opened by same user)?
    I'm trying to implement the code at the bottom of this post, for which testing requires at least two sessions:
    Re: Help with Procedure
    Edited by: tem on Apr 18, 2012 6:44 AM

    Thanks Jim,
    Ctrl-Shift-N doesn't do anything for me. I'm on a mac -- by experimenting it looks like command-N does what you're looking for. This appears to be the same as left-clicking on the "New" icon in the top left corner of SQL Developer, or selecting from the pull-down menu, File > New.
    This opens "Create a New" window that appears to be a wizard. What would I select at this point? Options are: Database Connection, Table, View, Package, ...
    I don't see an option for "Worksheet".
    UPDATE:
    OK, I found that if I select "SQL File", a worksheet becomes available. Perhaps this is what you intended. However, when I issue the command
    select col1 from my_table where row_id = 1;it still returns 0 instead of 1. Hmm, maybe my initial assumption was wrong -- if this is a second (e.g. different) session, should I expect the changes made in the first session in SQL Developer (the UPDATE command) WITHOUT a commit, to be observed in this second session? I thought that changes made in one session were not viewable in a different session until these changes are committed in the first session? If so, how to show this in SQL Developer? I must be missing something basic here.
    Or, is SQL Developer issuing some sort of "auto-commit" without my knowledge?
    Edited by: tem on Apr 18, 2012 8:00 AM

  • Multiple Values For one Condition in Choose From List

    I have used one Business Partner Choose From List in my form but i want to give condition in that choose from list on GroupCode .But the condition will have multiple values like 100,102,104 then how i will write the code to incorporate multiple values for one single condition.

    Hi,
    Check this thread
    How to set a Multiple condition in a single CFL
    Hope that helps,
    Vasu Natari.

  • Colour profiles within PS are off for one monitor only?

    Hi guys,
    I'm having a very strange issue with colour management in Photoshop CS2 currently.
    Photoshop seems to be calibrating all documents in a strange way on only *one* monitor. If I drag the file across to the other monitor the colour is completely different.
    Of course it sounds like my monitors being off, however when dragging the file across monitors Photoshop slowly updates the colours for the next monitor. You can see it display the wrong colour at first, then correct it (hopefully that makes sense).
    Another symptom of it is when I go to 'save for web'. Here, the colours revert to what I believe are correct.
    b It's worth noting that this has only started to happen since some Windows updates. One being an option update from Dell for my monitor - I can't seem to find any information about it though!
    My tester that I've been using is a plain white to black gradient. What I'm seeing is a lot of cyan in the middle of the gradient. I've saved off an example:
    http://2dforever.com/photoshop.png
    As you can see, all the greys are very green, but if you look at the gradient tool in the toolbar itself, the grey appears fine.
    I'm unsure how I can adjust the colour profile from Photoshop for one monitor - am I missing something really obvious here?
    Just to note: I'm on Win Xp SP2, Photoshop CS2, and I've cleared the preferences.

    Since you only mention Photoshop as having a problem, this is almost
    certainly, as you suspect, a monitor profile config problem.
    Color profiles for individual monitors are configured in
    Start>Settings>Control Panel>Display>Settings>(Advanced Button)>Color
    Management.
    In Settings, click on the monitor whose profile you want to verify before
    clicking on the "Advanced..." button. I would start by adding and
    defaulting the profile for the monitor that is causing problems.
    The Microsoft XP color control panel applet makes setup easier, though it
    is not really necessary. If the link below fails, google for keywords
    Microsoft XP color control panel applet.
    http://www.microsoft.com/downloads/details.aspx?FamilyID=1e33dca0-7721-43ca-9174-7f8d429fb b9e&displaylang=en

  • Multiple Labels for One Order

    Can anybody tell me if it is possible to produce multiple labels for one order. For example a customer orders 4 units. A standard package holds 3 units so an additional package is required for the fourth unit. As a result two packing labels are required. Does OM 11i support this?

    Hi Aj
    Thanks for your quick response. I was think on the same lines and you have confirmed that we will have to split the line into several lines on sales order.
    I am trying to do that now in our ECC box i.e item 10 with payer 1 and item 2 with payer 2. But as soon as I try to change the payer on item 2, i get the following error message which relates to credit management being active.
    I am assuming once we decativate CM, we should be good to go. PLease confirm. Also once its time for billing, will SAP automatically split the billing into different invoices per sales order line item based upon number of payers on the line items?
    PLease confirm your thoughts.
    Regards
    Jai

  • Multiple currency for one vendor

    Hi,
    Is there any way to have multiple currency for one Vendor?

    Hi Siva,
    Yes, It is possible to maintain multiple currency for one vendor. How ? The procedure as follows.
    During vendor creation using T-code XK01 and currency enter input data screen select Extra option on the top of the screen click and display  'Add Purchasing Data'  option click opened new screen and give input data plant, tick mark of the option Data retent.at plant level allowed and tick for OK.
    After that, you have enter multiple currency for the same vendor during vendor creation time, then you will create PO using T-code ME21N the currency field you have fill as you required currency by default first currency of vendor created will be display.
    Hope, it is useful for you.
    Regards,
    K.Rajendran

  • Multiple choose for one parameter

    Hi, does Oracle Report support the multiple choose for one parameter? i used a IN statement inside my WHERE conditions as following
    Select ....
    where ....
    content.style IN (:p_style)
    (content.style is a column in table "content", and "p_style" is a bind variable)
    i want user can have multiple choises on p_style value. but in the parameter form i only can make one choise. Does any one know how to do the multi choise from parameter form? if you do, please help me. Thank you very much.
    Li

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by whl:
    Hi, does Oracle Report support the multiple choose for one parameter? i used a IN statement inside my WHERE conditions as following
    Select ....
    where ....
    content.style IN (:p_style)
    (content.style is a column in table "content", and "p_style" is a bind variable)
    i want user can have multiple choises on p_style value. but in the parameter form i only can make one choise. Does any one know how to do the multi choise from parameter form? if you do, please help me. Thank you very much.
    Li<HR></BLOCKQUOTE>
    you can do that by flowing the stap
    at first you will write a select statement
    select ...
    From ...
    where Style (colomn name) = &style1
    then you create a user parameter soupose wich name is P_style and which valus is x, y, and z you should enter another value soupose that name is 'All' (All means x + y + Z)
    then you write in after parameter form trigger...
    IF :P_style = 'All' then
    :style1 := null;
    Else :style1 := 'and style (style means your column name) = :P_style;
    end if;
    null

  • Multiple Vendors for one Document Number in BW

    Hello All,
    We are getting Multiple Vendors for one document in BW. In R/3, standard table and RSA3, we are able to see correct vendor where as when it is coming into BW it is showing incorrect vendor in PSA and Data Target.
    All issues are coming for Process Key 1 only.
    *For Example:*
    Document: 9400000007
    Schedule Line:1
    Doc Item: 1
    Vendor:
    0010019229 - Incorrect Vendor
    0010018962 - Correct Vendor
    Committed Quantity: 0
    Doc Type:
    ZNB
    ZNPP
    Process Key: 1
    Not sure how to upload screen shot.
    Please suggest.
    Thanks,
    Vijay

    Hi ,
    Are you loading for the first time ? If yes have you checked Transaction BF11 settings.
    Regards
    Rahul Bindroo

Maybe you are looking for

  • How to make a question pool with MANY questions?

    I would like to make a question pool with several thousand questions, which I currently have in an Excel file. Is there a way around having manually to enter all questions in a Captivate question pool? Thanks.

  • Connecting Vizio smart tv to ATT WIFI

    Unable to connect my VIZIO smart tv to my att wifi using wifi key from my computer or by using the VIZIO tv menu, any suggestions?

  • Only root user can login, Please help

    Hi all, Iam new to solaris. I installed solaris 10 and configured SSH service. only root can login to console throught GUI let it be JDE or CDE while other users can't. Other users can only login through SSH or through command line prompt( before the

  • Lbacsys.lbac_events

    I work with Forms 6i and 10g database and I try to insert a picture into a BLOB column. When I try this I get error: TABLE OR VIEW DOES NOT EXISTS and NO DATA FOUND and it says something about LBACSYS.LBAC_EVENTS. What can I do about it? Thanks in ad

  • Can't activate facetime on my iphone 4 factory unlocked (Venezuela)

    hey guys i have a iphone 4 factory unlocked and never i can use facetime because that option its not working. When i tried turn on facetime option this show me "waiting for activation" and never change... My carrier is "Movilnet" is not a official ap