<?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 how to email details got by filter in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100189#M17677</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was working on creating custom workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want create a workflow to monitor all volumes in a cluster and if volume size increases by certain threshold ,&lt;/P&gt;&lt;P&gt;I have to gather all information of such volumes and have to send these details for approval to expand its size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i created a finder to get&amp;nbsp; all volumes of certain threshold from db and after that i am facing these below problems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)How to get all volumes retrived by the finder and display somwhat&amp;nbsp; like excel format.(how to do this by custom)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)If i want to mail these volumes details for approval &amp;nbsp;? (How the approval process exactly works)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)And after getiing approval i have to expand these volumes by x%&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the below figure depicts my idea&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="captur2.jpg" style="width: 614px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/1986i71710BC6FFC3ED28/image-dimensions/614x346?v=v2" width="614" height="346" role="button" title="captur2.jpg" alt="captur2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:09:53 GMT</pubDate>
    <dc:creator>Aswani_Kumar</dc:creator>
    <dc:date>2025-06-05T05:09:53Z</dc:date>
    <item>
      <title>how to email details got by filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100189#M17677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was working on creating custom workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want create a workflow to monitor all volumes in a cluster and if volume size increases by certain threshold ,&lt;/P&gt;&lt;P&gt;I have to gather all information of such volumes and have to send these details for approval to expand its size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i created a finder to get&amp;nbsp; all volumes of certain threshold from db and after that i am facing these below problems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)How to get all volumes retrived by the finder and display somwhat&amp;nbsp; like excel format.(how to do this by custom)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)If i want to mail these volumes details for approval &amp;nbsp;? (How the approval process exactly works)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)And after getiing approval i have to expand these volumes by x%&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the below figure depicts my idea&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="captur2.jpg" style="width: 614px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/1986i71710BC6FFC3ED28/image-dimensions/614x346?v=v2" width="614" height="346" role="button" title="captur2.jpg" alt="captur2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:09:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100189#M17677</guid>
      <dc:creator>Aswani_Kumar</dc:creator>
      <dc:date>2025-06-05T05:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to email details got by filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100194#M17679</link>
      <description>&lt;P&gt;@&amp;nbsp;1)How to get all volumes retrived by the finder and display somwhat&amp;nbsp; like excel format.(how to do this by custom)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2)If i want to mail these volumes details for approval &amp;nbsp;? (How the approval process exactly works)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;If you want the result list of a filter to mailed, you would need to execute the query not as a filter but invoke it using Powershell/Perl methods Invoke-MySqlQuery/invokeMysqlQuery. Now have your data exported in a &amp;nbsp;CSV or TSV format in a file. You can now mail this file as an attachment from your command. If you use powershell it will be easy. Powershell is the best scripting language on earth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You want me to do it for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;@(How the approval process exactly works)&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;A short summary: A workflow execution pauses before starting the next commad if an approval point is defined in a workflow. Email notification for this workflow execution &lt;EM&gt;Pause&lt;/EM&gt; can be sent to the approver. The approver logs into WFA and resumes the workflow or aborts it based on the result till now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Approval can't be done via email reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@3)And after getiing approval i have to expand these volumes by x%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes do it in the next command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 11:46:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100194#M17679</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-02-05T11:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to email details got by filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100202#M17686</link>
      <description>&lt;P&gt;A more simple way to send an email with SQL query info could be the use of a multi-query select .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the additional test of the send email command, add the $sql_query variable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then go to Setup-&amp;gt;User Inputs-&amp;gt; double click $sql_query --&amp;gt; choose in type query ( multi-select )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit the query itself and use for example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; available_size_mb&lt;BR /&gt;FROM&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cm_storage.aggregate&lt;BR /&gt;ORDER BY&lt;BR /&gt;available_size_mb&lt;BR /&gt;DESC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT only a few and do not use * because it seems to be too much for the email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 13:24:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100202#M17686</guid>
      <dc:creator>trentino123</dc:creator>
      <dc:date>2015-02-05T13:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to email details got by filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100245#M17692</link>
      <description>&lt;P&gt;Thanks Sinhaa&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 05:50:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100245#M17692</guid>
      <dc:creator>Aswani_Kumar</dc:creator>
      <dc:date>2015-02-06T05:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to email details got by filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100248#M17693</link>
      <description>&lt;P&gt;Thanks trentino123&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 05:53:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100248#M17693</guid>
      <dc:creator>Aswani_Kumar</dc:creator>
      <dc:date>2015-02-06T05:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to email details got by filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100430#M17744</link>
      <description>&lt;P&gt;1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code i have written to retrive the values from query and to put that values in .csv file.&lt;/P&gt;&lt;P&gt;But i cannot find whether the query is retriving or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where can i find the "wfautil" module sourcecode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use strict;&lt;BR /&gt;use Getopt::Long;&lt;BR /&gt;use WFAUtil;&lt;BR /&gt;my $FileName;&lt;BR /&gt;my $FileNamePrefix = 'c:\vol_report';&lt;BR /&gt;#Creating CSV file name&lt;BR /&gt;$FileName = $FileNamePrefix.".csv";&lt;BR /&gt;my $wfa_util = WFAUtil-&amp;gt;new();&lt;BR /&gt;$wfa_util-&amp;gt;sendLog('INFO', 'Creating CSV file: ' . $FileName);&lt;BR /&gt;my $query="SELECT name from cm_storage.aggregate";&lt;BR /&gt;my $database="cm_storage";&lt;BR /&gt;my @data;&lt;BR /&gt;my $length;&lt;BR /&gt;eval {&lt;BR /&gt;@data = $wfa_util-&amp;gt;invokeMySqlQuery($query,$database);&lt;BR /&gt;};&lt;BR /&gt;$length = @data;&lt;BR /&gt;open(my $FILE, "&amp;gt;" , $FileName);&lt;BR /&gt;foreach my $line (@data) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ($line ne "\n")&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ($line eq "")&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;print $FILE "-,";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;print $FILE $line . ",";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;print $FILE $line;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;close($FILE);&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 20:02:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100430#M17744</guid>
      <dc:creator>Aswani_Kumar</dc:creator>
      <dc:date>2015-02-10T20:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to email details got by filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100432#M17746</link>
      <description>&lt;P&gt;Hi Aswani,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching the command that worked for me, which was a create qtree in perl clone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it showed the name of the aggregates for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 20:16:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/how-to-email-details-got-by-filter/m-p/100432#M17746</guid>
      <dc:creator>trentino123</dc:creator>
      <dc:date>2015-02-10T20:16:31Z</dc:date>
    </item>
  </channel>
</rss>

