<?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: Question about finders and Return Node variable definition in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-about-finders-and-Return-Node-variable-definition/m-p/55394#M11526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, this is definitely possible, and one of the great things you can do in WFA.&amp;nbsp; I use this capability quite a bit depending on the use case the customer requires. First of all, it sounds like you are on the right track, but sometimes it's easy to be off a little bit.&amp;nbsp; Here is what I would do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) decide on the variable name, and put that into the &lt;STRONG&gt;Enable&lt;/STRONG&gt; of the Workflow table for your command.&amp;nbsp; In this case, I'll use a the 'createCommon' variable for the &lt;STRONG&gt;Enable&lt;/STRONG&gt; and define the &lt;STRONG&gt;Volume&lt;/STRONG&gt; variable 'common_vol' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG src="http://community.netapp.com/legacyfs/online/14413_create_vol.png" /&gt;&lt;/P&gt;&lt;P&gt;2.)&amp;nbsp; Find chart for 'common_vol'.&amp;nbsp; This is a view of what your find chart will most likely look like.&amp;nbsp; Not exactly, depending on the case, but close.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG src="http://community.netapp.com/legacyfs/online/14414_common_fc.png" width="297" /&gt;&lt;/P&gt;&lt;P&gt;In this example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Find the specific object (in this case a volume)&lt;UL&gt;&lt;LI&gt;F: do nothing.&amp;nbsp; Return and set the 'createCommon' variable to 'false'&lt;/LI&gt;&lt;LI&gt;NF: you need to create the volume, so find an aggregate for the volme&lt;UL&gt;&lt;LI&gt;F: Define the volume&lt;UL&gt;&lt;LI&gt;Return and set the 'creteCommon' variable to 'true'&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;NF: Error condition where no aggregate was found&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.)&amp;nbsp; Here's an example of what the Return node definition looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG src="http://community.netapp.com/legacyfs/online/14421_common_return.png" width="303" /&gt;&lt;/P&gt;&lt;P&gt;Here I simply click on the 'Add' button, then change NewVariable to whatever variable name I want, then set the value.&amp;nbsp; In this case this was my FIRST Return node where I did not want the command to be enabled if the volume was found.&amp;nbsp; In the SECOND Return node, I set the variable to 'true', since I did want the command to process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp; Let me know if it does or if you are still having any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kevin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2012 04:37:18 GMT</pubDate>
    <dc:creator>hill</dc:creator>
    <dc:date>2012-01-23T04:37:18Z</dc:date>
    <item>
      <title>Question about finders and Return Node variable definition</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-about-finders-and-Return-Node-variable-definition/m-p/55389#M11525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I was checking on how to do a simple task:&lt;/P&gt;&lt;P&gt;I would like to set the "Enable" condition of a Command to true only if a volume exist. &lt;/P&gt;&lt;P&gt;To do this I was thinking on using a finders that will search for a specific volume name into an array and then use the "Return" box to configure a variable with the value true or false (if it find or don't find the volume).&lt;/P&gt;&lt;P&gt;The problem is that I'm not able to use the returned variable into the Enable field. Probably there's something I'm missing &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; It's possible to define a variable this way? Should I put something special to refer to the FindChart Return Node?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:36:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-about-finders-and-Return-Node-variable-definition/m-p/55389#M11525</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2025-06-05T06:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question about finders and Return Node variable definition</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-about-finders-and-Return-Node-variable-definition/m-p/55394#M11526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, this is definitely possible, and one of the great things you can do in WFA.&amp;nbsp; I use this capability quite a bit depending on the use case the customer requires. First of all, it sounds like you are on the right track, but sometimes it's easy to be off a little bit.&amp;nbsp; Here is what I would do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) decide on the variable name, and put that into the &lt;STRONG&gt;Enable&lt;/STRONG&gt; of the Workflow table for your command.&amp;nbsp; In this case, I'll use a the 'createCommon' variable for the &lt;STRONG&gt;Enable&lt;/STRONG&gt; and define the &lt;STRONG&gt;Volume&lt;/STRONG&gt; variable 'common_vol' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG src="http://community.netapp.com/legacyfs/online/14413_create_vol.png" /&gt;&lt;/P&gt;&lt;P&gt;2.)&amp;nbsp; Find chart for 'common_vol'.&amp;nbsp; This is a view of what your find chart will most likely look like.&amp;nbsp; Not exactly, depending on the case, but close.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG src="http://community.netapp.com/legacyfs/online/14414_common_fc.png" width="297" /&gt;&lt;/P&gt;&lt;P&gt;In this example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Find the specific object (in this case a volume)&lt;UL&gt;&lt;LI&gt;F: do nothing.&amp;nbsp; Return and set the 'createCommon' variable to 'false'&lt;/LI&gt;&lt;LI&gt;NF: you need to create the volume, so find an aggregate for the volme&lt;UL&gt;&lt;LI&gt;F: Define the volume&lt;UL&gt;&lt;LI&gt;Return and set the 'creteCommon' variable to 'true'&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;NF: Error condition where no aggregate was found&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.)&amp;nbsp; Here's an example of what the Return node definition looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG src="http://community.netapp.com/legacyfs/online/14421_common_return.png" width="303" /&gt;&lt;/P&gt;&lt;P&gt;Here I simply click on the 'Add' button, then change NewVariable to whatever variable name I want, then set the value.&amp;nbsp; In this case this was my FIRST Return node where I did not want the command to be enabled if the volume was found.&amp;nbsp; In the SECOND Return node, I set the variable to 'true', since I did want the command to process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp; Let me know if it does or if you are still having any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kevin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 04:37:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-about-finders-and-Return-Node-variable-definition/m-p/55394#M11526</guid>
      <dc:creator>hill</dc:creator>
      <dc:date>2012-01-23T04:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question about finders and Return Node variable definition</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-about-finders-and-Return-Node-variable-definition/m-p/55401#M11527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin thanks for the excellent explanation &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was on the right way but the problem was on the Finder that got an error &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; Now it works correctly.&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 09:12:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-about-finders-and-Return-Node-variable-definition/m-p/55401#M11527</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2012-01-23T09:12:25Z</dc:date>
    </item>
  </channel>
</rss>

