<?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: How to conditionalize 'Exec this cmd' based on previous cmd step? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53042#M11027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&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; Is my understanding right that you are trying to do something very similar to nested IF statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 05:01:17 GMT</pubDate>
    <dc:creator>adaikkap</dc:creator>
    <dc:date>2014-09-17T05:01:17Z</dc:date>
    <item>
      <title>How to conditionalize 'Exec this cmd' based on previous cmd step?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53037#M11025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within a workflow (7-mode) I have a number of steps/rows but at certain points I have a side-by-side sequence of: [ &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Create Volume &lt;/STRONG&gt;] followed by [ &lt;STRONG&gt;Create Export&lt;/STRONG&gt; ].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;The &lt;STRONG&gt;Create Volume&lt;/STRONG&gt; parameter step uses &lt;STRONG&gt;Define Volume: [_myVol___] [by searching for an &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;existing Volume]&lt;/STRONG&gt; and has filters which search to see if the volume exists. &lt;STRONG&gt;If myVol was not found:&amp;nbsp; [Fill-in attributes and execute the command] &lt;/STRONG&gt;... so if it doesn't exist, a volume is created. So far, so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The subsequent &lt;STRONG&gt;Create Export&lt;/STRONG&gt; command references back to &lt;STRONG&gt;myVol&lt;/STRONG&gt; from the previous step and creates an export of that volume. However, if the volume exists, it probably already has the required export and I'd like to conditional'ize the &lt;STRONG&gt;Create Export&lt;/STRONG&gt; command using the &lt;STRONG&gt;_/Advanced\_&lt;/STRONG&gt; tab to only execute if the previous &lt;STRONG&gt;Create Volume&lt;/STRONG&gt; command ended up actually creating a new volume. Is there any way to communicate that status from the prior step to this step via a variables existence or value setting ... that I could test with the Execute this command: &lt;STRONG&gt;If the following variable was { variable was found | variable was not found |&amp;nbsp; expression is true }&lt;/STRONG&gt; ??? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:28:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53037#M11025</guid>
      <dc:creator>korns</dc:creator>
      <dc:date>2025-06-05T05:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to conditionalize 'Exec this cmd' based on previous cmd step?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53042#M11027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&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; Is my understanding right that you are trying to do something very similar to nested IF statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 05:01:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53042#M11027</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2014-09-17T05:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to conditionalize 'Exec this cmd' based on previous cmd step?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53045#M11029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to use an MVEL unary expression to make a nested if that I could use in &lt;STRONG&gt;_/Advanced\_&lt;/STRONG&gt; with an &lt;STRONG&gt;Execute if expression is TRUE&lt;/STRONG&gt; ... I just don't know any status or variable I could test in the expression to tell whether &lt;STRONG&gt;myVol&lt;/STRONG&gt; (in my example) already existed or was just created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 13:31:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53045#M11029</guid>
      <dc:creator>korns</dc:creator>
      <dc:date>2014-09-17T13:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to conditionalize 'Exec this cmd' based on previous cmd step?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53050#M11030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Each object variable has an "_found" attribute that you can use in expressions. So if myVol already existed myVol._found would be true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 00:55:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53050#M11030</guid>
      <dc:creator>ktim</dc:creator>
      <dc:date>2014-09-18T00:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to conditionalize 'Exec this cmd' based on previous cmd step?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53059#M11031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect. Exactly what I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 14:32:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-conditionalize-Exec-this-cmd-based-on-previous-cmd-step/m-p/53059#M11031</guid>
      <dc:creator>korns</dc:creator>
      <dc:date>2014-09-18T14:32:25Z</dc:date>
    </item>
  </channel>
</rss>

