<?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 WFA - Using Conditional Command in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102698#M18179</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to implement a conditional command using an attribute which is not part of the original dictionary of "Aggregate(cm_storage)".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In details:&lt;/P&gt;&lt;P&gt;I want that a variable (lets call it 'aggr1') will have more&amp;nbsp;attributes - for example: "VSMtoLP" , and then I will use it as an advanced condition on one of my other commands in the workflow&amp;nbsp;&lt;BR /&gt;(for example: If the following Expression is TRUE: &amp;nbsp; aggr1.VSMtoLP == 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm searching the aggr1 variable using some certified filters and some customized filters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roi ecinda.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:40:45 GMT</pubDate>
    <dc:creator>RoiBeci</dc:creator>
    <dc:date>2025-06-05T04:40:45Z</dc:date>
    <item>
      <title>WFA - Using Conditional Command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102698#M18179</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to implement a conditional command using an attribute which is not part of the original dictionary of "Aggregate(cm_storage)".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In details:&lt;/P&gt;&lt;P&gt;I want that a variable (lets call it 'aggr1') will have more&amp;nbsp;attributes - for example: "VSMtoLP" , and then I will use it as an advanced condition on one of my other commands in the workflow&amp;nbsp;&lt;BR /&gt;(for example: If the following Expression is TRUE: &amp;nbsp; aggr1.VSMtoLP == 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm searching the aggr1 variable using some certified filters and some customized filters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roi ecinda.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:40:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102698#M18179</guid>
      <dc:creator>RoiBeci</dc:creator>
      <dc:date>2025-06-05T04:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Using Conditional Command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102706#M18182</link>
      <description>&lt;P&gt;If the extra attribute that you wish to add can be returned from a sql query then there is an easy way to do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example this is the Aggregate Filter query that returns the extra attribute 'vsmtolp'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT
    aggr.name,
    node.name AS 'node.name',
    cluster.primary_address AS 'node.cluster.primary_address' ,
    aggr.available_size_mb,
    1 AS 'vsmtolp'
FROM
    cm_storage.aggregate AS aggr
JOIN
    cm_storage.node AS node
        ON aggr.node_id=node.id
JOIN
    cm_storage.cluster AS cluster
        ON node.cluster_id =cluster.id
WHERE
    aggr.block_type = '${block_type}'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can now create a Finder using this filter and add the attribute 'vsmtolp' as a return attribute for the finder.&amp;nbsp;After you have done this it should be possible for you to use the expression "aggregate1.vsmtolp == 1" in the advanced tab of another command&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 12:00:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102706#M18182</guid>
      <dc:creator>paragp</dc:creator>
      <dc:date>2015-04-02T12:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Using Conditional Command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102717#M18186</link>
      <description>&lt;P&gt;Thaks alot for your quick response!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way doing it without a Finder? just using a filter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 14:03:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102717#M18186</guid>
      <dc:creator>RoiBeci</dc:creator>
      <dc:date>2015-04-02T14:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Using Conditional Command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102721#M18189</link>
      <description>&lt;P&gt;That is possible too. In the resource selection dialog once you select your filter, go to the advance tab and change the sorting for your attribute 'vsmtolp' to either ASCENDING or DESCENDING&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 14:56:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102721#M18189</guid>
      <dc:creator>paragp</dc:creator>
      <dc:date>2015-04-02T14:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Using Conditional Command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102728#M18190</link>
      <description>&lt;P&gt;Works like a charm!&lt;/P&gt;&lt;P&gt;thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 18:01:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Using-Conditional-Command/m-p/102728#M18190</guid>
      <dc:creator>RoiBeci</dc:creator>
      <dc:date>2015-04-02T18:01:10Z</dc:date>
    </item>
  </channel>
</rss>

