MemberModules (ProbeActionModuleType)

System Center

Updated: August 10, 2011

Applies To: Operations Manager 2007 R2, System Center Operations Manager 2007

Contains all modules used in the linear workflow of a module type definition.


The following sections describe attributes, children, and the parent element of the MemberModules element.



Child Elements


Element Description

ConditionDetection (ProbeActionModuleType)

Optional element. The implementation of a predefined ConditionDetectionModuleType module. A probe action type’s internal workflow can end with any number of ConditionDetection (ProbeActionModuleType) modules.

ProbeAction (DataSourceModuleType)

Required element. Must be the first element in the internal workflow. The implementation of a predefined ProbeActionModuleType module.

Parent Elements


Element Description

Composite (ProbeActionModuleType)

Contains the module implementations and linear workflow composition in a module type definition.

The MemberModules element of a ProbeActionModuleType module contains the modules that are used to structure its internal workflow. A workflow that comprises a probe action module type must take input in order to trigger the probe action. If the TriggerOnly element is true, the probe action module type does not use the input data and will not include an OutputType (DataSourceModuleType) element.

The probe action module type must output data of the type defined in the OutputType (ProbeActionModuleType) element. Because a probe action module type definition must always return data for use by the next module in the external workflow, its MemberModules element does not include modules that are of the WriteActionModuleType definition. Write action module type definitions never return any data and must always be the last module in a workflow. The last module in a probe action module type workflow must either be a ProbeAction (DataSourceModuleType) or a ConditionDetection (ProbeActionModuleType) module. The first module in a probe action module type must be a ProbeAction (ProbeActionModuleType) module.

The ID attribute of each member module must be unique only in the scope of the module type, not the management pack.

In the following sample, a composite probe action module modularizes the functionality of a ProbeAction module and a ConditionDetection module. In this case, the Microsoft.Windows.ProductInstallationProbe module contains a probe that is used to query WMI at a certain interval. The condition detection module filters on the ProductCode value that was passed in through the configuration parameter. The module will return System.PropertyBagData if the filter the condition detection satisfies the filter.

<ProbeActionModuleType ID="Microsoft.Windows.ProductInstallationProbe" Accessibility="Public">
    <xsd:element name="ComputerName" type="xsd:string" />
    <xsd:element name="ProductCode" type="xsd:string" />
    <OverrideableParameter ID="ComputerName" ParameterType="string" Selector="$Config/ComputerName$" />
    <OverrideableParameter ID="ProductCode" ParameterType="string" Selector="$Config/ProductCode$" />
        <ProbeAction ID="WmiProbe" TypeID="Microsoft.Windows.WmiTriggerProbe">
          <Query>SELECT * FROM Win32_Product</Query>
        <ConditionDetection ID="FilterOnProductCode" TypeID="System!System.ExpressionFilter">
                <XPathQuery Type="String">Property[@Name='IdentifyingNumber']</XPathQuery>
                <Value Type="String">$Config/ProductCode$</Value>
        <Node ID="FilterOnProductCode">
          <Node ID="WmiProbe" />

Each module referenced in the MemberModules element has access to the composite module’s configuration parameter values. In this case, the ComputerName and ProductCode parameter values are used to fulfill the parameter requirements of the member module configuration parameters. To retrieve the value of a module’s encapsulating parent parameter, use the $Config variable notation. For more information about the $Config variable notation, see $Config.

For a composite probe action module type, the output type will be the same as the output type of the last module type in the composition workflow. If you are defining a new probe action module type for use in discovery, your composition must output discovery data (System.Discovery.Data type defined in the System.Library management pack).