Composition (DataSourceModuleType)
Applies To: Operations Manager 2007 R2, System Center Operations Manager 2007
Contains the workflow composition for a module type definition.
Schema Hierarchy
ManagementPack
TypeDefinitions
ModuleTypes
DataSourceModuleType
ModuleImplementation (DataSourceModuleType)
Composite (DataSourceModuleType)
Composition (DataSourceModuleType)
Syntax
<Composition>
<Node ID=”ModuleID”>…</Node>
</Composition>
Attributes and Elements
The following sections describe attributes, child elements, and the parent elements of the Composition element.
Attributes
None.
Child Elements
Element | Description |
---|---|
Required element. Represents a module in the linear workflow. |
Parent Elements
Element | Description |
---|---|
Contains the module implementations and linear workflow composition in a module type definition. |
Remarks
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.
Example
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>