<?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: Error accessing 1 row table  with  getValueAt function in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Error-accessing-1-row-table-with-getValueAt-function/m-p/98917#M17439</link>
    <description>&lt;P&gt;Seems that is a complicated example, to simplify:&lt;/P&gt;&lt;P&gt;I just create wokflow (in attachment ) with no-ops command and I added an input parameter $inputparameter as table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the content of no-op&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getValueAt($inputtable,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The problem occurs with numeric entry and when table have only one row.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;multiple rows &amp;nbsp;or alphanumeric entry: OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1698iCCFF99EA0C0B0F58/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-34-43.png" border="0" title="2015-01-06_17-34-43.png" /&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1699i971DE987BE5896BA/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-34-57.png" border="0" title="2015-01-06_17-34-57.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1700i8220576AA8BA5D81/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-34-06.png" border="0" title="2015-01-06_17-34-06.png" /&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1701iC01E389506F63EF1/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-34-29.png" border="0" title="2015-01-06_17-34-29.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1702i400A9A83048C7865/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-39-38.png" border="0" title="2015-01-06_17-39-38.png" /&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1703iD36C6A09FD1B3468/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-39-52.png" border="0" title="2015-01-06_17-39-52.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jan 2015 16:52:47 GMT</pubDate>
    <dc:creator>francoisbnc</dc:creator>
    <dc:date>2015-01-06T16:52:47Z</dc:date>
    <item>
      <title>Error accessing 1 row table  with  getValueAt function</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Error-accessing-1-row-table-with-getValueAt-function/m-p/98853#M17422</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I experience the following error when I try to access an one row table with getValueAt function.&lt;/P&gt;&lt;P&gt;Failed to resolve expression ' getValueAt($newlunssizetable,IndexLunSource)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$newlunssizetable is a input parameter as table.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IndexLunSource is the index in a loop represented by&amp;nbsp;getSize($luns)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$lun is a imput parameter multiselect SQL query&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SELECT&lt;BR /&gt;&amp;nbsp; lun.full_path,&lt;BR /&gt;&amp;nbsp; ROUND(lun.size_mb / 1024, &amp;nbsp;&lt;BR /&gt;&amp;nbsp; 0) AS Size&lt;BR /&gt;FROM&lt;BR /&gt;&amp;nbsp; cm_storage.lun AS lun,&lt;BR /&gt;&amp;nbsp; cm_storage.vserver AS vserver,&lt;BR /&gt;&amp;nbsp; cm_storage.volume AS volume&lt;BR /&gt;WHERE&lt;BR /&gt;&amp;nbsp; lun.vserver_id = vserver.id&lt;BR /&gt;&amp;nbsp; AND lun.volume_id = volume.id&lt;BR /&gt;&amp;nbsp; AND volume.name = '${myVol}'&lt;BR /&gt;&amp;nbsp; AND vserver.name = '${Mysvm}'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the the table is more that one row, it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2015-01-05_13-36-14.png" style="width: 478px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/1684i50E146C99E9043FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="2015-01-05_13-36-14.png" alt="2015-01-05_13-36-14.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The certified command works with 1 dim 1 row array&lt;/P&gt;&lt;P&gt;&amp;nbsp;def getValueAt(arrayVar, index)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; return arrayVar.split(",")[index-1];&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;François&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:20:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Error-accessing-1-row-table-with-getValueAt-function/m-p/98853#M17422</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2025-06-05T05:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing 1 row table  with  getValueAt function</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Error-accessing-1-row-table-with-getValueAt-function/m-p/98917#M17439</link>
      <description>&lt;P&gt;Seems that is a complicated example, to simplify:&lt;/P&gt;&lt;P&gt;I just create wokflow (in attachment ) with no-ops command and I added an input parameter $inputparameter as table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the content of no-op&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getValueAt($inputtable,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The problem occurs with numeric entry and when table have only one row.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;multiple rows &amp;nbsp;or alphanumeric entry: OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1698iCCFF99EA0C0B0F58/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-34-43.png" border="0" title="2015-01-06_17-34-43.png" /&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1699i971DE987BE5896BA/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-34-57.png" border="0" title="2015-01-06_17-34-57.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1700i8220576AA8BA5D81/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-34-06.png" border="0" title="2015-01-06_17-34-06.png" /&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1701iC01E389506F63EF1/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-34-29.png" border="0" title="2015-01-06_17-34-29.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1702i400A9A83048C7865/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-39-38.png" border="0" title="2015-01-06_17-39-38.png" /&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/1703iD36C6A09FD1B3468/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2015-01-06_17-39-52.png" border="0" title="2015-01-06_17-39-52.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2015 16:52:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Error-accessing-1-row-table-with-getValueAt-function/m-p/98917#M17439</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2015-01-06T16:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing 1 row table  with  getValueAt function</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Error-accessing-1-row-table-with-getValueAt-function/m-p/98935#M17442</link>
      <description>&lt;P&gt;Hi Francois,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This behviour of failure when using 1 numeric entry is strange, I'm looking to see why this happens. If you want to be able to proceed, you can put the numberic is single quotes like '11' and it will work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG align="left" src="https://community.netapp.com/t5/image/serverpage/image-id/1709iB66DDB7CDE33B66C/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="testtable.png" border="0" title="testtable.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 03:58:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Error-accessing-1-row-table-with-getValueAt-function/m-p/98935#M17442</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-01-07T03:58:28Z</dc:date>
    </item>
  </channel>
</rss>

