Calculated Indicator Inputs using boolean data will call calculation to fail


 Product(s):APM Implementation and Performance Management
 Version(s):7
 Environment:N/A
 Area:N/A
 Subarea:N/A

Problem Description

An APM user found that when trying to use a Indicator Input with a boolean attribute in a C# type or VB script type calculation, that APM would always use the value of null in the calculation regardless of the indicator attribute's true boolean state.

In this case I've recommended that the user instead use an enum related to the boolean and update their calculation to consider the true vs false condition based the enum list.

Solution

This has been reported as a bug, ADO#1245124. The following work around was recommended whereby the user would instead use an enum whose value would be affect related to the boolean they originally wished to use and updated their calculation to consider the true vs false condition based the enum list instead.