NiCE Threshold Filter + C2P Event Mapper
NiCE.Library.X.Threshold.Filter.And.C2P.Event.Mapper.CD (ConditionDetectionModuleType)
Element properties:
Member Modules:
Source Code:
<ConditionDetectionModuleType ID="NiCE.Library.X.Threshold.Filter.And.C2P.Event.Mapper.CD" Accessibility="Public" Batching="false" Stateful="false" PassThrough="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>NiCE.Library.X.NiCEProvidersSchema</SchemaType>
<SchemaType>Health!System.Health.AlertSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ThresholdType" type="MinMaxEnum"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="FilterType" type="System.Health.AlertHealthState"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="WarningThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="CriticalThreshold" type="xsd:double"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ConditionDetection ID="Filter" TypeID="NiCE.Library.X.Threshold.CD">
<ThresholdType>$Config/ThresholdType$</ThresholdType>
<FilterType>$Config/FilterType$</FilterType>
<WarningThreshold>$Config/WarningThreshold$</WarningThreshold>
<CriticalThreshold>$Config/CriticalThreshold$</CriticalThreshold>
</ConditionDetection>
<ConditionDetection ID="Mapper" TypeID="NiCE.Library.X.C2P.Event.Mapper.CD">
<ThresholdType>$Config/ThresholdType$</ThresholdType>
<FilterType>$Config/FilterType$</FilterType>
<WarningThreshold>$Config/WarningThreshold$</WarningThreshold>
<CriticalThreshold>$Config/CriticalThreshold$</CriticalThreshold>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="Filter"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Event.Data</OutputType>
<InputTypes>
<InputType>System!System.BaseData</InputType>
</InputTypes>
</ConditionDetectionModuleType>