<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getter Chain, Cast from Bool to Int? in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Getter-Chain-Cast-from-Bool-to-Int/m-p/722522#M3211</link>
    <description>&lt;P&gt;I have created an Information Point&lt;SPAN&gt;&amp;nbsp;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)?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 13:04:53 GMT</pubDate>
    <dc:creator>Henrik_Juul</dc:creator>
    <dc:date>2023-09-19T13:04:53Z</dc:date>
    <item>
      <title>Getter Chain, Cast from Bool to Int?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Getter-Chain-Cast-from-Bool-to-Int/m-p/722522#M3211</link>
      <description>&lt;P&gt;I have created an Information Point&lt;SPAN&gt;&amp;nbsp;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)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 13:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Getter-Chain-Cast-from-Bool-to-Int/m-p/722522#M3211</guid>
      <dc:creator>Henrik_Juul</dc:creator>
      <dc:date>2023-09-19T13:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getter Chain, Cast from Bool to Int?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Getter-Chain-Cast-from-Bool-to-Int/m-p/722523#M3212</link>
      <description>&lt;P&gt;Hi Hendrik, you can use normal toInt() or toString() for text values&lt;/P&gt;
&lt;P&gt;Example&lt;/P&gt;
&lt;P&gt;getBody().toInt()&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;getBody().toInteger()&lt;/P&gt;
&lt;P&gt;Can't remember 100% if it's toInt()or toInteger()&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 07:55:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Getter-Chain-Cast-from-Bool-to-Int/m-p/722523#M3212</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2023-09-20T07:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getter Chain, Cast from Bool to Int?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Getter-Chain-Cast-from-Bool-to-Int/m-p/722524#M3213</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I got this to work based on a .Net application:&lt;BR /&gt;&lt;SPAN&gt;ReturnValue.Success().Convert.ToInt32()&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 08:46:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Getter-Chain-Cast-from-Bool-to-Int/m-p/722524#M3213</guid>
      <dc:creator>Henrik_Juul</dc:creator>
      <dc:date>2023-09-26T08:46:50Z</dc:date>
    </item>
  </channel>
</rss>

