[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

        InputType (WriteActionModuleType)
          ModuleImplementation (WriteActionModuleType)
            Composite (WriteActionModuleType)


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

Attributes and Elements

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



Child Elements

Element Description

Node (WriteActionModuleType)

Required element. Represents a module in the linear workflow.

Parent Elements

Element Description

Composite (WriteActionModuleType)

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


Module type workflows are defined with nested Node elements. Each node element is associated with any one of the modules listed in the MemberModules (WriteActionModuleType) 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 XML sample shows a WriteActionModuleType element that is defined in the System.Windows.Library management pack. This particular write action module is used to start a service on the specified computer name. The reason for defining this module type is to provide a specialized version of the System.CommandExecuter write action module type.

  Copy Code
<WriteActionModuleType ID="Microsoft.Windows.ServiceControlManager.StartService" Accessibility="Public">
	<xsd:element name="ComputerName" type="xsd:string" />
	<xsd:element name="ServiceName" type="xsd:string" />
	<OverrideableParameter ID="ComputerName" ParameterType="string" Selector="$Config/ComputerName$" />
	<OverrideableParameter ID="ServiceName" ParameterType="string" Selector="$Config/ServiceName$" />
		<WriteAction ID="StartService" TypeID="System!System.CommandExecuter">
		<WorkingDirectory />
		<CommandLine>\\$Config/ComputerName$ start $Config/ServiceName$</CommandLine>
		<Node ID="StartService" />

See Also