[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Contains the workflow composition for a module type definition.

Schema Hierarchy

ManagementPack
  TypeDefinitions
    ModuleTypes
      ConditionDetectionModuleType
        ModuleImplementation (ConditionDetectionModuleType)
          Composite(ConditionDetectionModuleType)
            Composition

Syntax

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

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

Node (ConditionDetectionModuleType)

Required element. Represents a module in the linear workflow.

Parent Elements

Element Description

Composite

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

Remarks

Module type workflows are defined with nested Node elements. Each Node element is associated with any one of the modules listed in the MemberModules (ConditionDetectionModuleType) 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 ConditionDetectionModuleType module. The Filter condition detection module runs first and passes its output as an input parameter to the Mapper condition detection module.

  Copy Code
<ConditionDetectionModuleType ID="System.Discovery.FilteredClassSnapshotDataMapper" Accessibility="Public" PassThrough="false" Batching="false" Stateful="false">
  <Configuration>
	<IncludeSchemaTypes>
	<SchemaType>System.ExpressionEvaluatorSchema</SchemaType>
	<SchemaType>System.Discovery.MapperSchema</SchemaType>
	</IncludeSchemaTypes>
	<xsd:element name="Expression" type="ExpressionType"/>
	<xsd:element name="ClassId" type="xsd:string"/>
	<xsd:element name="InstanceSettings" minOccurs="0" maxOccurs="1" type="SettingsType"/>
  </Configuration>
  <ModuleImplementation Isolation="Any">
	<Composite>
	<MemberModules>
		<ConditionDetection ID="Filter" TypeID="System.ExpressionFilter">
		<Expression>$Config/Expression$</Expression>
		</ConditionDetection>
		<ConditionDetection ID="Mapper" TypeID="System.Discovery.ClassSnapshotDataMapper">
		<ClassId>$Config/ClassId$</ClassId>
		<InstanceSettings>$Config/InstanceSettings$</InstanceSettings>
		</ConditionDetection>
	</MemberModules>
	<Composition>
		<Node ID="Mapper">
		<Node ID="Filter"/>
		</Node>
	</Composition>
	</Composite>
  </ModuleImplementation>
  <OutputType>System.Discovery.Data</OutputType>
  <InputTypes>
	<InputType>System.BaseData</InputType>
  </InputTypes>
</ConditionDetectionModuleType>

See Also

Other Resources

Composite