<?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: Custom command not using WFA cache (SQL DB) in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-command-not-using-WFA-cache-SQL-DB/m-p/313#M72</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you're trying to do will not work.&amp;nbsp; You're trying to pass an internal WFA command variable into the Return Parameters.&amp;nbsp; Unfortunately, the workflow doesn't know what '&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;$DiskLimitTotal&lt;/SPAN&gt;' is.&amp;nbsp; The $ on the variable will make the workflow think it is looking for a User Input to the workflow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, at this time, it's not really possible to pass command 'results' to other commands in the workflow... so I'm really not certain you'll be able to do what you're trying to do with the command.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, if you can find a way to pass the result into a command variable (say DiskLimitTotal ... no $), then the workflow will know that variable and it's value... and then you should be able to leverage the return parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if it's possible, but if you do know the values of &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;$DiskLimitExtendBy + $DiskLimitCurrent&lt;/SPAN&gt;.... then you could leverage a WFA Function.&amp;nbsp; You could pass those values into a Function... which would then in turn provide the value to a WFA Command variable (say 'DiskLimitTotal' - no $).&amp;nbsp; At this point you should be able to use THAT variable in the Return Parameters and return the value you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 14:46:48 GMT</pubDate>
    <dc:creator>hill</dc:creator>
    <dc:date>2013-10-16T14:46:48Z</dc:date>
    <item>
      <title>Custom command not using WFA cache (SQL DB)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-command-not-using-WFA-cache-SQL-DB/m-p/298#M65</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do we pass on a value back to HPOO ?&lt;/P&gt;&lt;P&gt;Let’s say, In a custom command, I increased quotas of qtree.&lt;/P&gt;&lt;P&gt;After increasing quota, I can get the new qtree size &lt;/P&gt;&lt;P&gt;$DiskLimitCurrent = (Get-NaQuota -Path $QtreePath).DiskLimit/1024/1024/1024&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I send it back to HPOO?&lt;/P&gt;&lt;P&gt;For the variables that are defined and updated in WFA cache (SQL DB), I’m able to send those variables back to HPOO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:51:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-command-not-using-WFA-cache-SQL-DB/m-p/298#M65</guid>
      <dc:creator>narendrathawani</dc:creator>
      <dc:date>2025-06-05T05:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom command not using WFA cache (SQL DB)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-command-not-using-WFA-cache-SQL-DB/m-p/303#M67</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way you pass information back to the calling system is via the Return Parameters in a workflow.&amp;nbsp; To access these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;edit a workflow&lt;/LI&gt;&lt;LI&gt;click on 'setup' (in WFA 2.1... preferences, if using something prior to WFA 2.1)&lt;/LI&gt;&lt;LI&gt;click on the 'Return Parameters'&amp;nbsp; tab&lt;/LI&gt;&lt;LI&gt;screenshot:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23597_ret_parm.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many of the sample workflows (like above) have return parameters in them as examples.&amp;nbsp; This one has some conditional statements on what should be returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you would also need to call WFA via Web Services to get Return Parameters for the workflow execution you're interested in.&amp;nbsp; Here is a link to the Rest Web Services document:&amp;nbsp; &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-21510" title="https://communities.netapp.com/docs/DOC-21510" target="_blank"&gt;https://communities.netapp.com/docs/DOC-21510&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 13:05:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-command-not-using-WFA-cache-SQL-DB/m-p/303#M67</guid>
      <dc:creator>hill</dc:creator>
      <dc:date>2013-10-16T13:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom command not using WFA cache (SQL DB)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-command-not-using-WFA-cache-SQL-DB/m-p/308#M70</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;Thanks for quick response.&lt;/P&gt;&lt;P&gt;I'm not able to return parameters that I define in the command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In command, I find the value of quota of a qtree as follows&lt;/P&gt;&lt;P&gt;$DiskLimitTotal = $DiskLimitExtendBy + $DiskLimitCurrent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In workflow, I defined the return parameter as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23637_WFA_Return_Parameter_Defined.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workflow fails with folowing message&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/23635_WFA_Return_Parameter_Error.bmp" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 13:57:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-command-not-using-WFA-cache-SQL-DB/m-p/308#M70</guid>
      <dc:creator>narendrathawani</dc:creator>
      <dc:date>2013-10-16T13:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom command not using WFA cache (SQL DB)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-command-not-using-WFA-cache-SQL-DB/m-p/313#M72</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you're trying to do will not work.&amp;nbsp; You're trying to pass an internal WFA command variable into the Return Parameters.&amp;nbsp; Unfortunately, the workflow doesn't know what '&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;$DiskLimitTotal&lt;/SPAN&gt;' is.&amp;nbsp; The $ on the variable will make the workflow think it is looking for a User Input to the workflow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, at this time, it's not really possible to pass command 'results' to other commands in the workflow... so I'm really not certain you'll be able to do what you're trying to do with the command.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, if you can find a way to pass the result into a command variable (say DiskLimitTotal ... no $), then the workflow will know that variable and it's value... and then you should be able to leverage the return parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if it's possible, but if you do know the values of &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;$DiskLimitExtendBy + $DiskLimitCurrent&lt;/SPAN&gt;.... then you could leverage a WFA Function.&amp;nbsp; You could pass those values into a Function... which would then in turn provide the value to a WFA Command variable (say 'DiskLimitTotal' - no $).&amp;nbsp; At this point you should be able to use THAT variable in the Return Parameters and return the value you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 14:46:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-command-not-using-WFA-cache-SQL-DB/m-p/313#M72</guid>
      <dc:creator>hill</dc:creator>
      <dc:date>2013-10-16T14:46:48Z</dc:date>
    </item>
  </channel>
</rss>

