Absolute Value
- 01 Sep 2023
- 1 Minute to read
- Print
- DarkLight
Absolute Value
- Updated on 01 Sep 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 5.0.0 |
Location | Data > Numbers |
The Absolute Value step gets the modulus value of the input.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Value | Decimal value to calculate the absolute value from | Decimal |
Outputs
Property | Description | Data Type |
---|---|---|
Output | Modulus value | Decimal |
Example Inputs and Outputs
Value | Output |
---|---|
0 | 0 |
-4.232 | 4.232 |
Null | EXCEPTION MESSAGE |
43542346326343 | 43542346326343 |
8.05 | 8.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?