Trying to get this to work but all shows healthy when there are som that should be warning.
Anyone notice where i might have gone wrong, cant find that many examples online.
<ConditionDetection ID="UnderWarningFilter" TypeID="System!System.ExpressionFilter"> <Expression> <SimpleExpression> <ValueExpression> <XPathQuery Type="Integer">Property[@Name='PendingCount']</XPathQuery> </ValueExpression> <Operator>LessEqual</Operator> <ValueExpression> <Value Type="Integer">$Config/PendingCountThreshold$</Value> </ValueExpression> </SimpleExpression> </Expression> </ConditionDetection> <ConditionDetection ID="OverWarningFilter" TypeID="System!System.ExpressionFilter"> <Expression> <And> <Expression> <SimpleExpression> <ValueExpression> <XPathQuery Type="Integer">Property[@Name='PendingCount']</XPathQuery> </ValueExpression> <Operator>Greater</Operator> <ValueExpression> <Value Type="Integer">$Config/PendingCountThreshold$</Value> </ValueExpression> </SimpleExpression> </Expression> <Expression> <SimpleExpression> <ValueExpression> <XPathQuery Type="Integer">Property[@Name='DaysSincePatched']</XPathQuery> </ValueExpression> <Operator>Greater</Operator> <ValueExpression> <Value Type="Integer">$Config/DaysSincePatchedThreshold$</Value> </ValueExpression> </SimpleExpression> </Expression> </And> </Expression> </ConditionDetection>