<?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: Getting error when defining export rules in a table for WFA workflow in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/149484#M27018</link>
    <description>&lt;P&gt;I worked with sp_1008 offline on this one.&amp;nbsp; The error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Failed to resolve expression 'getValueAt2D($ExportRuleSpecification,ExportRuleLoopIndex,1)'"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was occuring as there was no row&amp;nbsp;repetition setup, so the row index variable ‘ExportRuleLoopIndex’ didn't exist anywhere, hence WFA failing to resolve the expression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The way to fix this particular issue is to create a new row for the create export rule command,&amp;nbsp;have the row repeat based on the number of entries in your variable $ExportRuleSpecification user input, and then the syntax will work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NetApp certified workflow ‘Create a Clustered Data ONTAP NFS Volume’ should have an example to work from – it creates the export policy on first row, creates export rules on row two and is repeated as necessary, and creates the volume on row 3.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2019 17:28:17 GMT</pubDate>
    <dc:creator>joele</dc:creator>
    <dc:date>2019-07-09T17:28:17Z</dc:date>
    <item>
      <title>Getting error when defining export rules in a table for WFA workflow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/135664#M24594</link>
      <description>&lt;P&gt;Hello all smart people.&lt;/P&gt;&lt;P&gt;I'm trying to create a workflow to create a volume with NFS export.&lt;/P&gt;&lt;P&gt;But I'm stuck on the export rule part, the software isn't accepting my variable for clientmatch, ro, rw and superuser that Iam supposed to get from the export rule table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It feel's like I have looked everywhere and it all looks like the default "create a clustered data ontap nfs volume", but it's not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under here is how it's configured and what defenition I have in the workflow command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user input tab:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="User inputs" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/7745i3FB732831BD3304D/image-size/large?v=v2&amp;amp;px=999" role="button" title="User inputs" alt="User inputs" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workflow command defenitions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Workflow command" style="width: 835px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/7746i8A5E7EB39E277F64/image-size/large?v=v2&amp;amp;px=999" role="button" title="Workflow command" alt="Workflow command" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getValueAt2D($ExportRuleSpecs,ExportRuleLoopIndex,1)&lt;BR /&gt;getValueAt2D($ExportRuleSpecs,ExportRuleLoopIndex,2)&lt;BR /&gt;getValueAt2D($ExportRuleSpecs,ExportRuleLoopIndex,3)&lt;BR /&gt;getValueAt2D($ExportRuleSpecs,ExportRuleLoopIndex,4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I test it via the preview function:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Workflow_preview.png" style="width: 916px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/7747i02356723E3DBEB10/image-size/large?v=v2&amp;amp;px=999" role="button" title="Workflow_preview.png" alt="Workflow_preview.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the result is this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to resolve expression 'getValueAt2D($ExportRuleSpecs,ExportRuleLoopIndex,1)'&lt;BR /&gt;Location: 'Create export rule' command &amp;gt; 'Export_Rule' tab &amp;gt; 'Create_Export_Rule' variable &amp;gt; 'clientmatch' property&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd be glad for all help to get past this issue!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Martin Sandell&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:25:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/135664#M24594</guid>
      <dc:creator>Martin_Sandell</dc:creator>
      <dc:date>2025-06-04T14:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when defining export rules in a table for WFA workflow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/135803#M24613</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Martin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would you be able to export that workflow and upload it here (or send me a message and we can coordinate offline) ?&amp;nbsp; I'd&amp;nbsp;be happy to take a look at the workflow and it's a little easier to do in WFA's editor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Joel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 16:07:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/135803#M24613</guid>
      <dc:creator>joele</dc:creator>
      <dc:date>2017-11-06T16:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when defining export rules in a table for WFA workflow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/149311#M26992</link>
      <description>&lt;P&gt;I am getting the same error&amp;nbsp;when defining export rules in a table for WFA workflow.&lt;/P&gt;
&lt;P&gt;Can you please share correct powershell&amp;nbsp; code for &amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3e3e3e; cursor: text; font-family: 'Source Sans Pro','Lato','Helvetica Neue','Helvetica','Arial','sans-serif'; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 27.42px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;defining export rules in a table for WFA workflow&lt;/SPAN&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:00:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/149311#M26992</guid>
      <dc:creator>sp_1008</dc:creator>
      <dc:date>2019-07-02T19:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when defining export rules in a table for WFA workflow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/149312#M26993</link>
      <description>&lt;P&gt;Powershell code or the MVEL syntax in the workflow editor?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case - if you want to share what you have so far (publically or privately, message me if the latter) I can help take a look.&amp;nbsp; Let me know!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Joel&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:22:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/149312#M26993</guid>
      <dc:creator>joele</dc:creator>
      <dc:date>2019-07-02T19:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when defining export rules in a table for WFA workflow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/149314#M26994</link>
      <description>&lt;P&gt;I am getting&amp;nbsp; below error when try to exeucre the WF .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Failed to resolve expression 'getValueAt2D($ExportRuleSpecification,ExportRuleLoopIndex,1)'&lt;BR /&gt;Location: 'Create export rule' command &amp;gt; 'Export_Rule' tab &amp;gt; 'export_rule' variable &amp;gt; 'clientmatch' property&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:52:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/149314#M26994</guid>
      <dc:creator>sp_1008</dc:creator>
      <dc:date>2019-07-02T19:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when defining export rules in a table for WFA workflow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/149484#M27018</link>
      <description>&lt;P&gt;I worked with sp_1008 offline on this one.&amp;nbsp; The error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Failed to resolve expression 'getValueAt2D($ExportRuleSpecification,ExportRuleLoopIndex,1)'"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was occuring as there was no row&amp;nbsp;repetition setup, so the row index variable ‘ExportRuleLoopIndex’ didn't exist anywhere, hence WFA failing to resolve the expression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The way to fix this particular issue is to create a new row for the create export rule command,&amp;nbsp;have the row repeat based on the number of entries in your variable $ExportRuleSpecification user input, and then the syntax will work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NetApp certified workflow ‘Create a Clustered Data ONTAP NFS Volume’ should have an example to work from – it creates the export policy on first row, creates export rules on row two and is repeated as necessary, and creates the volume on row 3.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 17:28:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-error-when-defining-export-rules-in-a-table-for-WFA-workflow/m-p/149484#M27018</guid>
      <dc:creator>joele</dc:creator>
      <dc:date>2019-07-09T17:28:17Z</dc:date>
    </item>
  </channel>
</rss>

