Multiple r/3  status monitoring

Hi Folks,
We have the below situation:
Ours is a Global/Local data set up. XI takes care of distribution of local data to various systems .
During this distribution, is it possible to capture the status of the distribution in MDM [assuming  there is a field created]? In case if there is an error in one of the r/3 systems - this should be reflected in MDM which subsequently be viewed in the portal.
Regards,
Vinay

Vinay,
This is one of the missing features in MDM (I have not yet explored SP4). If you would like to create a Custom field and "Update" it, then XI need to write back the data with Status and Import Manager can inturn use this file and "Update" the record. This process can be automated on MDM side to some extent by using Import Server.
In my previous project, we had a Java process kicking off a chain of batch programs for Syndicator Batch, Custom built "ftp" scripts for transfering files to Legacy systems. When an "Acknowledgement" is recieved from Legacy systems, the "Status" is updated back in repository using MDM Java API.
I hope the scenarios I explained will help you in resolving the problem in your case.
All the Best!
Regards,
Rajani Kumar

Similar Messages

  • Yosemite consolidating multiple desktops on dual monitors,

    I have a Mac mini (mid 2010) - 2.4 GHz - 350 GB - Yosemite 10.10.2 - with dual LG monitors. Instead of using Mission Control I prefer to have multiple desktops on each monitor. I dedicate a single app to each desktop, e.g., Safari, iTunes & iPhoto on Mon1 facing Mail, Messages & Calendar on Mon2, and swipe between apps, which I find more convenient. Six numbered desktops plus Dashboard.
    In Mavericks this arrangement was preserved on restart. However, in Yosemite, all apps on Mon2 are consolidated in a single desktop, the remaining 2 desktops - 4 & 5 - have migrated blank to Mon1, PLUS an additional blank desktop - 6 - is generated on Mon1. The single desktop on Mon2 is now 7. On subsequent restarts there become eight, then nine, then ten desktops, etc.
    I've been up and down the settings options, tried System Help, outside searches, and even mentioned the issue in passing during an unrelated Apple Tech Support call. To no avail. I had hoped that one of the updates would resolve this. It is easily but inconveniently resolved manually, but as I mentioned this was a non issue in Mavericks.
    I mentioned this problem in an earlier post, but in less detail. Has anyone else experienced or heard of this?

    I did find a workaround........ that works so far....... If I put FCPX into full screen mode.  Then my events dissapear!!!!  But if I toggle on and off the "Window/Show Events in a separate window" menu then the Events reappear and I can swipe between desktops and all the windows behave as they should.  That's a relief.  The old method doesn't work but at least this one does.  I hope this helps someone who is swiping like a mad man like I was.

  • Workflow Status Monitor in BPM

    Hi,
    In Oracle Workflow we're able to rewind, retry, skip activities via status monitor. Are those functions available in BPM suite 11?
    When i both look at E.M and google it, i've found Oracle document named "Migrating to Oracle BPM from Oracle Workflow" , but unfortunately again i'm not able to find tips about how to update payload (wf attributes) of a process instance, rewind to previous step, retry, skip current step. Can you please share any document or tips for those issues to fully implement wf admin functionalities like in wf status monitor.  Also is it possible to integrate both work flow and bpm task list applications into a common standalone ADF task list page?
    Regards
    Ümit Sadegüzel

    Hi Ümit,
    With Oracle BPM you're dealing with not only the process and its interactive activities, but also the human tasks that accompany every interactive activity.  What I think will probably be most helpful to you will be the Human Task API.  Below are the links I wish I’d known about when first getting started with the APIs.  Arun Pareek and Niall Commiski’s blog posts give you practical working examples that actually work.
    Although there are new REST APIs, you might want to concentrate on the SOAP and Java APIs for now.
    BPM 11g Samples: This samples site has two links you might find useful (the “BPM 11g APIs” and the “BPM 11g Update task and Message based Correlation” links) http://java.net/projects/oraclebpmsuite11g/pages/Samples
    Fusion Middleware Developer's Guide for Oracle SOA Suite – Chapters 33 (Building a Custom Worklist Client) and 34 (Introduction to Human Workflow Services).  These document the Human Workflow Java and SOAP APIs. http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_worklistcust.htm#SOASE839
    http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_workflow.htm#SOASE104
    Arun Pareek has two excellent blogs on the SOAP and Java Human Workflow Service APIs.  https://beatechnologies.wordpress.com/2011/08/22/oracle-human-workflow-web-service-apis/https://beatechnologies.wordpress.com/2011/08/24/using-java-apis-for-oracle-human-workflows/
    Human Task ITaskQueryService API example and JavaDoc reference - http://docs.oracle.com/cd/E14571_01/apirefs.1111/e10660/oracle/bpel/services/workflow/query/ITaskQueryService.html
    Oracle BPM IInstanceQueryService API JavaDoc reference - http://docs.oracle.com/cd/E28389_01/apirefs.1111/e25378/oracle/bpm/services/instancequery/IInstanceQueryService.html
    Oracle BPM API example to retrieve a list of instances – http://soadev.blogspot.in/2011/07/querying-oracle-bpm-process-instances.html
    Niall Commiski’s blog on reassigning tasks using the Java API - http://niallcblogs.blogspot.com/2013/12/292-bpm-11g-human-task-reassignment-via.html
    Niall Commiski’s blog on updating the payload in a human task using the human task api - http://niallcblogs.blogspot.com/2013/07/261-short-digression-into-human-task-api.html
    Niall Commiski’s blog on Purging Instances using the Composite API -  http://niallcblogs.blogspot.com/2011/12/soabpm-apis-manipulating-composites-and.html
    Niall Commiski’s blogs on the Human Workflow Java API: Oracle BPM 11g Human Workflow Service Java API – Part 1 - retrieve tasks and task information http://niallcblogs.blogspot.com/2010/11/oracle-human-workflow-service-java-api.html
    Oracle BPM 11g Human Workflow Service Java API – Part 2 - retrieving payload values http://niallcblogs.blogspot.com/2010/11/human-workflow-java-api-part-2.html
    Oracle BPM 11g Human Workflow Service Java API – Part 3 – retrieving tasks assigned to a user - ITaskQueryService.AssignmentFilter
    http://niallcblogs.blogspot.com/2010/12/oracle-human-workflow-part-3.html
    Human Workflow Java API sample (download the “workflow-118-JavaSamples” and “workflow-100-VacationRequest” zip file on this page) – this has Java API examples that add attachments, get attachments, get tasks, initiate tasks, query tasks based on different predicates, assign (route) tasks, reassign tasks, update the task’s outcome https://java.net/projects/oraclesoasuite11g/downloads/directory/HumanWorkflow?field=date&order=asc&page=2  
    Hope this helps,
    Dan

  • Ping Status Monitor doesn't create any alert

    Hello,
    for Windows Server you have the Ping Status Monitor testing connection to the servers. We have the problem, that if a server is not reachable the alert does not occure. We test it with one server - disebled the network card and the monitor does not alert.
    If I ping the server from the scom console it fails but status view and state change are still green.
    Is there something wrong with the monitor?

    Hi,
    Ping Status Monitor
    This monitor pings a agentless computer using an ICMP ping. If the computer is agent-managed, it ping itself locally.
    Please try to enable the Monitor Computer Not Reachable and
    Health Service Heartbeat Failure.
    For more information, please review the link below:
    How Heartbeats Work in Operations Manager
    http://technet.microsoft.com/en-us/library/hh212798.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Pro 9500 mark 2 status monitor not working

    My status monitor stopped working on my 9500 mark2.I uninstalled driver and software and reinstalled,no luck.Changed usb cable and usb port.Printer is still working but status monitor can not commuicate with printer. 
     Thanks
    MIKE

    Hi, Mike!
    So that the Community can help you better, we will need to know exactly which operating system is running on your computer. That, and any other details you'd like to give will help the Community better understand your issue!
    If this is a time-sensitive matter, our US-based technical support team is standing by, ready to help 24/7 via Email at http://bit.ly/EmailCanon or by phone at 1-800-OK-CANON (1-800-652-2666) weekdays between 10 AM and 10 PM ET (7 AM to 7 PM PT).
    Thanks and have a great day!

  • Error in the Status Monitor page

    I have been getting the following error, for the notification in the status monitor page:
    9004: An error has occurred in workflow processing: 3835: Error '-6508 - ORA-06508: PL/SQL: could not find program unit being called' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'.. The stack trace of the error is:
    Wf_Event.setMessage(oracle.apps.wf.notification.send, 2762135, WF_XML.Generate)
    Wf_Event.dispatch_internal()
    I am not able to understand what it is

    For some reason the changes i am trying to save to database is not getting reflected, when i check out the diagram in the Status Monitor.
    Also i am getting this error, while saving the Workflow into the database:
    1602: Could not save.
    1400: Could not save to database. MODE=UPGRADE EFFDATE=2009/05/20 12:16:36
    1401: Could not upload ACTIVITY entity 'HRSSA/HR_MAINTAIN_SIT'.
    1401: Could not upload ATTRIBUTE entity '<null>/P_SIT_LOOKUP'.
    210: Oracle Error: ORA-01653: unable to extend table APPLSYS.WF_ACTIVITY_ATTRIBUTES_TL by 16 in tablespace APPS_TS_SEED
    ORA-01403: no data found
    ORA-06512: at "APPS.WF_LOAD", line 1713
    ORA-06512: at line 1
    . SQL text: BEGIN WF_LOAD.UPLOAD_ACTIVITY_ATTRIBUTE(:activity_item_type, :activity_name, :activity_version, :name, :display_name, :description, :sequence, :type, :protect, :custom, :subtype, :format, :default, :value_type, :level_error); END;

  • SQL MP Job Last Run Status Monitor doesn't alert

    Hi Guys,
    Last run Status Monitor in SQL MP that checks the last run status of agent jobs and generates alerts is not generating any alerts in SCOM. Although we had overrided the monitor to trigger the alerts.
    Jobs are discovered under SQL agent Job state view and state changes to warning as well but no alerts at all.
    Please guide.
    Regards,
    Daya Ram

    Hi!
    Enable "Generates Alert" by override.
    Set "Alert On State" to "The monitor is in a warning health state" by override.
    Optionally change the "Alert severity" so that it matches the health state.
    Set "Auto-Resolve Alert" to true by override.
    Cheers,
    Patrick
    Please remember to click “Mark as Answer” on the post that helped you.
    Patrick Seidl (System Center and Private Cloud)
    Website: http://www.syliance.com
    Blog: http://www.systemcenterrocks.com

  • Status monitor

    Hi,
    Is it possible to view statuses of other users from status monitor without log in as sys admin. B'caz I have assigned myself resposibility but it just allows me to check statuses of WF owner by me. I am aware that we can change Workflow System Administrator from SYSADMIN to * but is there anyway we can assign it to selected users.
    Thanks!

    It is better to set the workflow system administrator to a RESPONSIBILITY, such as Workflow Administrator Web (New). This will then cause ANYONE who has the Workflow Administrator Web (New) responsibility to assume the workflow administrator role and functionality. Other users will not be affected.
    However, cloning has the effect of resetting it to SYSADMIN!
    Regards
    Tim

  • Multiple (3 or more) monitors for PXI 8110 controller​?

    I'm just fishing for help from the NI community out there to help a customer: has anyone had success using the PXI 8110 with multiple (3 or more) monitors?  I believe it can inherently support 2 monitors.  We've tried ADlink and Peritek cPCI cards without success. 
    If so, please share how you accomplished it.  Thanks!
    Daniel Lin
    Field Sales Engineer - Western New England

    The Apple OS hates unmatched video cards.. and Photoshop CS4 shows you that clearly.
    I started with 2 nVidia 7300s... upgraded to 1 nVidia 8800 and kept 1 nVidia 7300... crashed every 10 minutes it seems.
    Then upgraded to 2 nVidia 8800s. I still get 1 or 2 crashes a day but nothing near what I got with unmatched video cards.
    Based on all my research and the crash reports posted it seems clear that the primary cause of the issue is Apple video drivers and their inability to tell the cards apart.In many cases my crashes were occurring because the drivers were asking the 7300 to do things it simply could not do. I found with the matched 8800 cards most days things run fairly smoothly. I will get a crash or two a day, but I can tell immediately when Photoshop is going to crash. Not that that is any help. But I can at least work now. I just must relaunch PS a couple times and save often.
    From what I've found there's little you can do. Basically matched video cards help a great deal but they aren't perfect. Remove one card so you are only using a single video card, or wait for Apple to fix drivers (OS10.6 in Sept maybe???). This is clearly a case where Apple embedding drivers in the OS can be an issue because you can't simply download an ATI or nVidia update and install it.
    The one thing I haven't tested with the matched 8800 cards is to turn off OpenGL since that's a primary reason for my upgrading (rotating canvas is a life saver). Turning off all Open GL features may make PS more stable on my system with matched cards. I'm not certain. I can definitively tell you that unmatched video cards are a nightmare and matching 8800s are pretty good. Nothing I'm up in arms about and I have the GL features to use.

  • Epson Status Monitor

    Can anyone help me with this issue?
    We have an Epsons Aculaser C900 - the great thing about it is that it has a Status Monitor that lets us know what the go is re cartridges, etc...
    Since installing a new progam on the mac, the status monitor for the epson has disappeared, never to be found again! We have been told by Epson and our techies that Epson doesn't do a printer driver for 10.4, but it was working just fine prior to the installation...
    Any ideas?
    Thanks

    Hi Tom!
    Look here:
    http://gimp-print.sourceforge.net/
    Gutenprint is the new name for Gimp. The latest update works well.
    As a matter of interest I could never access the Epson driver's status monitor to check ink levels etc or ask it to clean. But I recently had to do an archive and install, which also meant re-installing both the original Epson driver for OS X, and the driver for my Epson Scanner. Now everything works! The trick is to add your printer to the list so that you can choose which driver you are using.

  • Status Monitoring

    Hi All,
      how can i Monitor ALE/idoc Status?

    Hi Friend,
    Status Monitoring of ALE Messages: T-Code => BD87
    &#61656;     Status monitor can monitor the processing status of IDocs in ALE inbound and outbound processing and you can process IDocs manually.
    &#61656;     The IDocs are arranged by status in the hierarchy.
    &#61656;     You can rearrange them by message type/object type or by partner system.
    &#61656;     You can display a selection of IDocs, process IDocs directly or first restrict their number and then process them.
    &#61656;     You can restrict Idocs Selection

  • How to open Workflow status monitor from form personalization

    I am trying to open workflow status monitor page from special menu using form personalization and encountering below error message.
    Any help or guidance in this regard will be much appreciated. Here are the personalization details that I have set.
    Builtin Type : Launch a Function
    Function COde: FND_FNDWFIAS
    Function Name: Monitor Activities List
    Parameters:
    I tried both the below in parameter field and both are returning null point exception while opening page.
    =SELECT 'FUNCTION_NAME='||'FND_FNDWFIAS'||' OPEN_FLAG='||'Y'||' SESSION_FLAG='||'Y'||' ITEM_TYPE='||'XXOMCP'||
    ' ITEM_KEY='||:GLOBAL.XXG_WF_KEY||' ADMIN_MODE='||'NO'||' ACCESS_KEY='||'Y' FROM DUAL
    =SELECT 'FUNCTION_NAME='||'FND_FNDWFIAS'||'OPEN_FLAG='||'Y'||'SESSION_FLAG='||'Y'
    ||'OTHER_PARAMS ='||'ITEM_TYPE=XXOMCP'||'&ITEM_KEY='||:GLOBAL.XXG_WF_KEY||'&ADMIN_MODE=NO&ACCESS_KEY=Y' FROM DUAL
    Regards,
    Sree

    Sorry Phil,
    but that's all you got.
    Frank

  • Extension Approach for WF Status Monitor

    Hello All,
    I need to restrict the external lov in WF admin>Status Monitor>Workflow Type
    Path --> /oracle/apps/fnd/wf/lov/webui/WorkflowsLovRG
    LOV --> WorkflowItemTypesLOV
    The region is not associated to any CO and i need to restrict the LOV based on some conditions. Please let me know how to go about.
    Thanks
    Rakesh
    Edited by: Rakesh S on Oct 28, 2009 5:46 PM

    You can extend the page with a new controller even if there is no seeded controller associtated with the region.
    Just extend the customController with OAController and write your logic.
    Personalize and add your controller to the region.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Display multiple desktops on one monitor

    I have a 32 inch Hannspree HDTV connected to my Mac Mini via HDMI.
    I would like to create four quadrants on my screen and display a different desktop in each quadrant.
    I know how to create the multiple desktops in mission control, what I don't know is how to display them all at once!
    I am not looking for answers involving multiple monitors! I want to divide my 32 monitor up into four seperate "screens" and display a different desktop in each "screen"
    Thanks for the help!
    CB

    Hi,
    It can be done by using Server side code in Visual Webpart .Please check the below link.
    http://sharepointkitchen.blogspot.in/2013/07/creating-controls-dynamically-in-aspnet.html
    If you are looking for something different pls let me know..
    Don't forget to mark it as an Answer if it resolves your issue and Vote Me as helpful if it useful.
    Mahesh

  • 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

Maybe you are looking for

  • Permemantly deleting an old email address.

    When I created a new contact I misspelled his email address. After receiving a delivery failed error I fixed the spelling, but now when I start typing his name in a new email I see both email addresses, the old incorrect one and the correct one. I ha

  • Error 6 in building Executable Apllication

    Building an executable(.exe) and getting this error can anybody help:: Error 6 occurred at Copy in AB_Targetfile.lvclassostBuild.vi-> AB_Application.lvclassostBuild.vi-> AB_Engine_Build.vi-> AB_Build_Invoke.vi-> AB_Build_Invoke.vi.ProxyCaller Its wor

  • [Solved (kind of)] Rewriting a partion table on a ntfs drive

    So, i searched a bit on the board and did'nt find any valuable answer to my problem. I have this 320gb external drive. I was resizing a partition in gparted when i accidentaly told it to create a new partition table. The disk now has none. i know my

  • Building distributi​on is missing parts

    I am using Labwindows CVI 2012 on Windows 7x64 I want to build a distribution that needs my exe-file, CVI shared runtime engine, and NI variable engine. I have the CVI full development distribution from a download, unzipped on my local harddisk in C:

  • HT201412 A spot on ipad4 does not response

    When I type on iPad, there is a spot on iPad does not response whenever I touch on screen or try to type. Any thoughts?