<?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: Using Command Parameter in ROW condition in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-Command-Parameter-in-ROW-condition/m-p/122336#M21977</link>
    <description>&lt;P&gt;A WFA workflow goes through a planning phase where all the command inputs are resolved . This is followed by an execution phase in which the all commands code is executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add-WfaWorkflowParameter happens during the execution phase of the workflow . This is when your CLI is executed.&amp;nbsp; While row coditions are evaluated before during the planning phase. So what you are asking is not possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this can be achieved by writing code like this in the beginning of your command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$executeCommand = Get-WfaWorkflowParameter -Name executeCommand

if (!$executeCommand) {
    return;
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2016 09:15:20 GMT</pubDate>
    <dc:creator>paragp</dc:creator>
    <dc:date>2016-08-16T09:15:20Z</dc:date>
    <item>
      <title>Using Command Parameter in ROW condition</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-Command-Parameter-in-ROW-condition/m-p/122284#M21970</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i create parameter using&amp;nbsp;Add-WfaWorkflowParameter in a command within a Workflow, is there a way to use that parameter as a ROW condition? For example, if that parameter is true or false in a row condition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am capturing a CLI output in a WFA command and setting the value of a&amp;nbsp;&lt;SPAN&gt;Add-WfaWorkflowParameter based on the cli output. I would like to use that parameter value to decide whether or not to run other commands within the workflow.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:32:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-Command-Parameter-in-ROW-condition/m-p/122284#M21970</guid>
      <dc:creator>raj45__</dc:creator>
      <dc:date>2025-06-04T19:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using Command Parameter in ROW condition</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-Command-Parameter-in-ROW-condition/m-p/122336#M21977</link>
      <description>&lt;P&gt;A WFA workflow goes through a planning phase where all the command inputs are resolved . This is followed by an execution phase in which the all commands code is executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add-WfaWorkflowParameter happens during the execution phase of the workflow . This is when your CLI is executed.&amp;nbsp; While row coditions are evaluated before during the planning phase. So what you are asking is not possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this can be achieved by writing code like this in the beginning of your command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$executeCommand = Get-WfaWorkflowParameter -Name executeCommand

if (!$executeCommand) {
    return;
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 09:15:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-Command-Parameter-in-ROW-condition/m-p/122336#M21977</guid>
      <dc:creator>paragp</dc:creator>
      <dc:date>2016-08-16T09:15:20Z</dc:date>
    </item>
  </channel>
</rss>

