System.Computation

Applies To: System Center 2012 - Operations Manager, System Center 2012 R2 Operations Manager, System Center 2012 SP1 - Operations Manager

The System.Computation condition detection module type takes System.BaseData data as input and outputs System.ComputationData.

Usage

This module is used by other modules to perform mathematical computations on data values before passing those values to the next module in the workflow. It can also be used to test a condition in a workflow, and provide a different result based on whether that condition is true or false.

Type Definition

<ConditionDetectionModuleType ID="System.Computation" Accessibility="Public" Batching="false" Stateful="false" PassThrough="false">
  <Configuration>
    <IncludeSchemaTypes>
      <SchemaType>System.ExpressionEvaluatorSchema</SchemaType>
    </IncludeSchemaTypes>
    <xsd:element name="NumericValue" type="NumericValueExpressionType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
  </Configuration>
  <ModuleImplementation Isolation="Any">
    <Native>
      <ClassID>C75C06DE-A537-4744-BDF9-5775E63E014A</ClassID>
    </Native>
  </ModuleImplementation>
  <OutputType>System.ComputationData</OutputType>
  <InputTypes>
    <InputType>System.BaseData</InputType>
  </InputTypes>
</ConditionDetectionModuleType>

Parameters

The System.Computation module supports the following configuration parameter:

Parameter Type Overrideable Description

NumericValue

NumericValueExpressionType

False

Required parameter. Contains either a numeric value, or an expression that resolves to a numeric value.

For more information about the NumericValueExpressionType, see System.NetworkManagement.Computation.

Composition

The System.Computation module is a native module.

Module Type Usage

System.NetworkManagement.Computation

Performs a computation using the same parameters as System.Computation, but specific to the network management management pack.

External Module References

None

Sample

The following XML example …

Information

   

Module Type

ConditionDetectionModuleType

Input Type

System.BaseData

Output Type

System.ComputationData

Implementation

Native

Library

System.Library