Customized Backward Compatibility Alert Response With ServerRole

System.Mom.BackwardCompatibility.AlertResponse.WithServerRole (WriteActionModuleType)

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
InputTypeSystem.BaseData

Member Modules:

ID Module Type TypeId RunAs 
Mapper ConditionDetection System.Mom.BackwardCompatibility.StandardResponseContext.Mapper Default
AlertWriter WriteAction System.Mom.BackwardCompatibility.GeneratedAlertSubmissionAction Default

Overrideable Parameters:

IDParameterTypeSelector
AlertLevelstring$Config/AlertLevel$

Source Code:

<WriteActionModuleType ID="System.Mom.BackwardCompatibility.AlertResponse.WithServerRole" Accessibility="Public" Batching="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>MomBackwardCompatibility!System.Mom.BackwardCompatibility.AlertGenerationSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="GenerateAlert" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="Owner" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="Description" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="AlertLevel" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="ResolutionState" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="Source" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="Name" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="ServerRole" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="ServerRoleInstance" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="Component" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="ComponentInstance" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="ProblemState" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="InvokerType" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="AlertLevel" Selector="$Config/AlertLevel$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ConditionDetection ID="Mapper" TypeID="System.Mom.BackwardCompatibility.StandardResponseContext.Mapper">
<AlertGeneration>
<GenerateAlert>$Config/GenerateAlert$</GenerateAlert>
<Owner>$Config/Owner$</Owner>
<Description>$Config/Description$</Description>
<AlertLevel>$Config/AlertLevel$</AlertLevel>
<ResolutionState>$Config/ResolutionState$</ResolutionState>
<Source>$Config/Source$</Source>
<Name>$Config/Name$</Name>
<ServerRole>$Config/ServerRole$</ServerRole>
<ServerRoleInstance>$Config/ServerRoleInstance$</ServerRoleInstance>
<Component>$Config/Component$</Component>
<ComponentInstance>$Config/ComponentInstance$</ComponentInstance>
<ProblemState>$Config/ProblemState$</ProblemState>
</AlertGeneration>
<InvokerType>$Config/InvokerType$</InvokerType>
<ManagementPackId/>
</ConditionDetection>
<WriteAction ID="AlertWriter" TypeID="System.Mom.BackwardCompatibility.GeneratedAlertSubmissionAction"/>
</MemberModules>
<Composition>
<Node ID="AlertWriter">
<Node ID="Mapper"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<InputType>SystemLibrary!System.BaseData</InputType>
</WriteActionModuleType>