Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
09-19-2023 06:04 AM
I have created an Information Point which basically works so now I also want to create a metric based on the return value.- Only thing is that the return value is a Boolean so how do I cast it to an Integer (with a Getter Chain I suppose)?
Solved! Go to Solution.
09-20-2023 12:55 AM
Hi Hendrik, you can use normal toInt() or toString() for text values
Example
getBody().toInt()
or
getBody().toInteger()
Can't remember 100% if it's toInt()or toInteger()
09-26-2023 01:46 AM
Thank you.
I got this to work based on a .Net application:
ReturnValue.Success().Convert.ToInt32()
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form