O R G A N I C / F E R T I L I Z E R: bug in notification subscription when using custom fields with opsmgr

Jul 23, 2009

bug in notification subscription when using custom fields with opsmgr

back last month, i posted an odd behavior i was seeing in opsmgr.  anytime i used a custom field, the notification subscription would not work.  one of the peeps on the forum called pss to work through the issue and had been informed that it was a bug, completely reproducible.

you can read the entire thread here: http://social.technet.microsoft.com/Forums/en-US/operationsmanagergeneral/thread/260be16a-0f45-4904-8093-7c1caa5ed546

otherwise, here’s a short summary of how to fix the problem:

  • Export the ‘Notifications Internal Library’ Management Pack.
  • Increase the <Version>. For example:
    • <Version>6.1.7221.1</Version>
  • Locate the mistakes for each custom Field, which will look like:
<SimpleExpression xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ValueExpression>
<Property>Custom8</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>RobsTest</Value>
</ValueExpression>
</SimpleExpression>
  • Update this by changing Custom8 to CustomField8. For example:
<SimpleExpression xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ValueExpression>
<Property>CustomField8</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>RobsTest</Value>
</ValueExpression>
</SimpleExpression>
  • Save the file & import back into OpsMgr.

thanks goes to graham davies and coentjo!