<?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 Re: Trouble accessing attributes of geoprocessing results in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/trouble-accessing-attributes-of-geoprocessing/m-p/224229#M5266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try Sequence instead of SEQUENCE in your code snippet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2011 21:22:36 GMT</pubDate>
    <dc:creator>MehulChoksey</dc:creator>
    <dc:date>2011-02-16T21:22:36Z</dc:date>
    <item>
      <title>Trouble accessing attributes of geoprocessing results</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/trouble-accessing-attributes-of-geoprocessing/m-p/224228#M5265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having trouble accessing the attribute table of a returned geoprocessing result, and was hoping someone could help.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;executeComplete calls the following function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;private function showResult(event:GeoprocessorEvent):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; messages.text = "Best Route Displayed";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.cursorManager.removeBusyCursor();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show(event.executeResult.results[0].value.features[0].attributes.SEQUENCE + "");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the alert shows up undefined when the GP service (&lt;/SPAN&gt;&lt;A href="http://129.2.24.163/ServerMPSArcGIS/rest/services/PCTools/GPServer/Best_Route"&gt;http://129.2.24.163/ServerMPSArcGIS/rest/services/PCTools/GPServer/Best_Route&lt;/A&gt;&lt;SPAN&gt; - publicly accessible if you want to take a look) clearly shows that SEQUENCE is an attribute of the the first output (results[0]).&amp;nbsp; What could I doing wrong?&amp;nbsp; Also, assume I know very little about ActionScript and Flex - I'm fairly new to this.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 19:42:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/trouble-accessing-attributes-of-geoprocessing/m-p/224228#M5265</guid>
      <dc:creator>JayGregory</dc:creator>
      <dc:date>2011-02-16T19:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble accessing attributes of geoprocessing results</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/trouble-accessing-attributes-of-geoprocessing/m-p/224229#M5266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try Sequence instead of SEQUENCE in your code snippet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 21:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/trouble-accessing-attributes-of-geoprocessing/m-p/224229#M5266</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2011-02-16T21:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble accessing attributes of geoprocessing results</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/trouble-accessing-attributes-of-geoprocessing/m-p/224230#M5267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My foot is in my mouth (thank you!).&amp;nbsp; I can't believe I hadn't tried that.&amp;nbsp; I guess that's why I'm a novice.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;try Sequence instead of SEQUENCE in your code snippet.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 21:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/trouble-accessing-attributes-of-geoprocessing/m-p/224230#M5267</guid>
      <dc:creator>JayGregory</dc:creator>
      <dc:date>2011-02-16T21:41:07Z</dc:date>
    </item>
  </channel>
</rss>

