Composition (DataSourceModuleType)

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 the parent elements of the Composition element.

Attributes

None.

Child Elements

 

Element Description

Node (DataSourceModuleType)

Required element. Represents a module in the linear workflow.

Parent Elements

 

Element Description

Composite (DataSourceModuleType)

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

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

The following sample shows how to define a workflow within a DataSourceModuleType module. The Scheduler data source module runs first and passes its output as an input parameter to the Probe probe action module.


<Composite>
  <MemberModules>
    <DataSource TypeID="System!System.Discovery.Scheduler" ID="Scheduler">
      <Scheduler>
        <SimpleReccuringSchedule>
          <Interval Unit="Seconds">$Config/Frequency$</Interval>
        </SimpleReccuringSchedule>
        <ExcludeDates />
      </Scheduler>
    </DataSource>
    <ProbeAction TypeID="Microsoft.Windows.RegistryProbe" ID="Probe">
      <ComputerName>$Config/ComputerName$</ComputerName>
      <RegistryAttributeDefinitions>$Config/RegistryAttributeDefinitions$</RegistryAttributeDefinitions>
    </ProbeAction>
  </MemberModules>
  <Composition>
    <Node ID="Probe">
      <Node ID="Scheduler" />
    </Node>
  </Composition>
</Composite>

 
Show: