Absolute Value
  • 01 Sep 2023
  • 1 Minute to read
  • Dark
    Light

Absolute Value

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.0.0
LocationData > Numbers

The Absolute Value step gets the modulus value of the input.


Properties

Inputs

PropertyDescriptionData Type
ValueDecimal value to calculate the absolute value fromDecimal

Outputs

PropertyDescriptionData Type
OutputModulus valueDecimal

Example Inputs and Outputs

ValueOutput
00
-4.2324.232
Null EXCEPTION MESSAGE
43542346326343
43542346326343
8.058.05


Common Errors

Parameter 'value' of 'AbsoluteValue' cannot be null

If the value passed in is null, an error will occur.

To correct this, ensure that the input value is an Int32 or Decimal data type.

Exception Message:

Name: [BusinessRule] Parameter 'value' of 'AbsoluteValue' can not be null
                Exception Message: [BusinessRule] Parameter 'value' of 'AbsoluteValue' can not be null                

                Input Values: -- No Data --
                
                Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] Parameter 'value' of 'AbsoluteValue' can not be null
   at DecisionsFramework.Design.Flow.CoreSteps.InvokeMethodUtility.ThrowErrorIfNullIsNotAllowed(MethodInfo methodInfo, Object[] parameterValues, String errorMessage)
   at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
   at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)
   at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)                
                

Was this article helpful?

What's Next