OpsMgr 2007 Quick Fix: Valid XPATH queries may fail against the EventData element of SDK events after you apply SCOM 2007 R2 CU3

KB5After you apply System Center Operations Manager 2007 R2 Cumulative Update 3 (CU3), a workflow that queries the EventData element of an SDK event may fail to properly evaluate the XPATH query. Specifically, this occurs if the SDK event does not include a Dataitem element as the next element after EventData.

Cause

This is a known issue in System Center Operations Manager 2007 R2 CU3.

Resolution

There are two workarounds for this issue:

1. Run expression filters only against top-level event elements, such as EventNumber, EventCategory or PublisherName.

2. If you must run an expression filter against the EventData element of an SDK event, change the connector to make sure that every inserted event includes a Dataitem element immediately after the EventData element. Then change expression filters to query the elements after Dataitem using an XPATH expression such as the following:

EventData/Dataitem/VALUE

In the above XPATH example, VALUE is the name of an XML element that is immediately after the Dataitem element.

=====

The information above was published today in the following Microsoft Knowledge Base article written by Michael Sadoff:

KB2507575 - Valid XPATH queries may fail against the EventData element of SDK events after you apply System Center Operations Manager 2007 R2 CU3

J.C. Hornbeck | System Center Knowledge Engineer

The App-V Team blog: https://blogs.technet.com/appv/
The WSUS Support Team blog: https://blogs.technet.com/sus/
The SCMDM Support Team blog: https://blogs.technet.com/mdm/
The ConfigMgr Support Team blog: https://blogs.technet.com/configurationmgr/
The SCOM 2007 Support Team blog: https://blogs.technet.com/operationsmgr/
The SCVMM Team blog: https://blogs.technet.com/scvmm/
The MED-V Team blog: https://blogs.technet.com/medv/
The DPM Team blog: https://blogs.technet.com/dpm/
The OOB Support Team blog: https://blogs.technet.com/oob/
The Opalis Team blog: https://blogs.technet.com/opalis
The Service Manager Team blog: http: https://blogs.technet.com/b/servicemanager
The AVIcode Team blog: http: https://blogs.technet.com/b/avicode
The System Center Essentials Team blog: http: https://blogs.technet.com/b/systemcenteressentials

clip_image001 clip_image002