Composition (ProbeActionModuleType)

System Center

Updated: August 10, 2011

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

Contains the workflow composition for a module type definition.


<Composition>
   <Node ID=”ModuleID”>…</Node>
</Composition>

The following sections describe attributes, child elements, and parent elements of the Composition element.

Attributes

None.

Child Elements

 

Element Description

Node (ProbeActionModuleType)

Represents a module in the linear workflow.

Parent Elements

 

Element Description

Composite (ProbeActionModuleType)

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

Module type workflows are defined with nested Node (ProbeActionModuleType) elements. Each Node (ProbeActionModuleType) element is associated with any one of the modules listed in the MemberModules (ProbeActionModuleType) element. The innermost Node (ProbeActionModuleType) element’s module is the first step of the workflow. The outermost Node (ProbeActionModuleType) element’s module is the last step in the workflow.

The following sample shows how to define a workflow within a ProbeActionModuleType module. The WmiProbe probe action module runs first and passes its output as an input parameter to the FilterOnProductCode condition detection module.


<ProbeActionModuleType ID="Microsoft.Windows.ProductInstallationProbe" Accessibility="Public">
  <Configuration>
    <xsd:element name="ComputerName" type="xsd:string" />
    <xsd:element name="ProductCode" type="xsd:string" />
  </Configuration>
  <OverrideableParameters>
    <OverrideableParameter ID="ComputerName" ParameterType="string" Selector="$Config/ComputerName$" />
    <OverrideableParameter ID="ProductCode" ParameterType="string" Selector="$Config/ProductCode$" />
  </OverrideableParameters>
  <ModuleImplementation>
    <Composite>
      <MemberModules>
        <ProbeAction ID="WmiProbe" TypeID="Microsoft.Windows.WmiTriggerProbe">
          <NameSpace>\\$Config/ComputerName$\Root\CIMv2</NameSpace>
          <Query>SELECT * FROM Win32_Product</Query>
        </ProbeAction>
        <ConditionDetection ID="FilterOnProductCode" TypeID="System!System.ExpressionFilter">
          <Expression>
            <SimpleExpression>
              <ValueExpression>
                <XPathQuery Type="String">Property[@Name='IdentifyingNumber']</XPathQuery>
              </ValueExpression>
              <Operator>Equal</Operator>
              <ValueExpression>
                <Value Type="String">$Config/ProductCode$</Value>
              </ValueExpression>
            </SimpleExpression>
          </Expression>
        </ConditionDetection>
      </MemberModules>
      <Composition>
        <Node ID="FilterOnProductCode">
          <Node ID="WmiProbe" />
        </Node>
      </Composition>
    </Composite>
  </ModuleImplementation>
  <OutputType>System!System.PropertyBagData</OutputType>
  <TriggerOnly>true</TriggerOnly>
</ProbeActionModuleType>

 
Show: