<?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: WAF - Email Output from a filter in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115757#M20598</link>
    <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/10819"&gt;@sheelnidhig﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I didn't get what are you asking here.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2016 09:51:44 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2016-02-15T09:51:44Z</dc:date>
    <item>
      <title>WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115646#M20560</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if we have a possibility to be able to Email the output of the complete filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a situation where I am creating a Volume and multiple qtree's with custom Quote per Qtree and then email all the qtree's within the volume so that we can have mount information for newly provisioned Shares.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate any suggestation or examples on this subject.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sheel&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:05:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115646#M20560</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2025-06-04T22:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115648#M20562</link>
      <description>&lt;P&gt;Do you have a filter that currently works for what you are doing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may know this already, but that filter is nothing more than just a mySQL query. You could create a new custom powershell command to send the email, and use the 'invoke-mysqlquery' command to invoke a query against the WFA database to get the results you want.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:35:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115648#M20562</guid>
      <dc:creator>coreywanless</dc:creator>
      <dc:date>2016-02-11T14:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115676#M20571</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it posible to create an array element from a loop or repeating row (from filter [member of a group]).&lt;/P&gt;&lt;P&gt;And then email the complete array element !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;,Sheel&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 03:56:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115676#M20571</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2016-02-12T03:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115689#M20577</link>
      <description>&lt;P&gt;Another way.&lt;/P&gt;&lt;P&gt;Dump it in a file/playground.&lt;/P&gt;&lt;P&gt;Send email by retrieving the data from file/playgournd.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Abhi&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 09:53:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115689#M20577</guid>
      <dc:creator>abhit</dc:creator>
      <dc:date>2016-02-12T09:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115702#M20581</link>
      <description>&lt;P&gt;I haven't tested it, but you may be able to do it within the commands by using the 'Add-WfaWorkflowParameter' command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$qtreedata =@()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$qtreedata +=&amp;nbsp;&lt;/SPAN&gt;get-wfaworkflowparameter -name 'filesystemData'&lt;/P&gt;&lt;P&gt;$qtreedata += $Your_Qtree_Data_From_This_Command&lt;/P&gt;&lt;P&gt;add-wfaworkflowparameter -name &lt;SPAN&gt;'filesystemData'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;-value $qtreedata&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when you get to the last step you would use "&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;get-wfaworkflowparameter -name 'filesystemData'" to get your data you wanted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I haven't actually tried to overwrite an existing workflow parameter. &amp;nbsp;Let us know how it goes if you go down this route.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;abhit's suggestion would work as well. &amp;nbsp;I have done that in the past where I dumped data out to a temp directory in a csv format.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 14:37:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115702#M20581</guid>
      <dc:creator>coreywanless</dc:creator>
      <dc:date>2016-02-12T14:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115712#M20587</link>
      <description>&lt;P&gt;Answering to the original question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have n alternate solution as well. Its a filter, so you must know that a filters are available at WFA REST interface. Now I can excute them and get data in my command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching here a fully functional sample workflow here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;It gets data from REST Apis executing the filter.&lt;/LI&gt;&lt;LI&gt;Prepares html rows as would appear in testing the filter.&lt;/LI&gt;&lt;LI&gt;Send this data as email.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Import the Data Source type, and then create a Data Souce out of it. It will get you data you need.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Import the filter. This is the filter I'm using&lt;/P&gt;&lt;P&gt;3. Import the workflow.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 18:11:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115712#M20587</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-02-12T18:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115753#M20597</link>
      <description>&lt;P&gt;Thanks S&lt;SPAN&gt;inhaa,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This was really helpfull.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Just a follow up question with the Filter ULR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can i possibily provide an input to the Filer ULR, because if i dont provide an URL, i get the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;WfaException{Message: Missing filter parameter 'effective_cluster_version', Cause: javax.ejb.EJBTransactionRolledbackException: Missing filter parameter 'effective_cluster_version'}&lt;/PRE&gt;&lt;P&gt;and the URL I am ussing is :&amp;nbsp;http://localhost/rest/filters/629d7946-3008-4938-917d-290aa085a8ee/test?IP=127.0.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sheel&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 08:57:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115753#M20597</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2016-02-15T08:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115757#M20598</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/10819"&gt;@sheelnidhig﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I didn't get what are you asking here.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 09:51:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115757#M20598</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-02-15T09:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115760#M20599</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we run any filter, we need to provide some inputs like cluster name or volume.&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;volume.name,&lt;BR /&gt;vserver.name AS 'vserver.name',&lt;BR /&gt;cluster.primary_address AS 'vserver.cluster.primary_address'&lt;BR /&gt;FROM&lt;BR /&gt;cm_storage.volume,&lt;BR /&gt;cm_storage.vserver,&lt;BR /&gt;cm_storage.cluster&lt;BR /&gt;WHERE&lt;BR /&gt;vserver.id = volume.vserver_id&lt;BR /&gt;AND cluster.id = vserver.cluster_id&lt;BR /&gt;AND volume.name LIKE '${vol_name}%'&lt;BR /&gt;AND vserver.name = '${vserver_name}'&lt;BR /&gt;AND (&lt;BR /&gt;cluster.name = '${cluster_name}'&lt;BR /&gt;OR cluster.primary_address = '${cluster_name}'&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, if i access the filter via Rest APi, it will throw an error&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;WfaException{Message: Missing filter parameter 'cluster_name', Cause: javax.ejb.EJBTransactionRolledbackException: Missing filter parameter 'cluster_name'}&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is there any way to test the filter with Rest API and user input !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if I am able to explain my question &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;,Sheel&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 10:06:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115760#M20599</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2016-02-15T10:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115765#M20600</link>
      <description>&lt;P&gt;See my filter and the command code I've used. You being the WFA workflow designer, you must see the command code to understand how it works. Also read the WFA Develper's guide and REST Primer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameters to filters are passed like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://localhost/rest/filters/&amp;lt;filter_uuid&amp;gt;&lt;FONT color="#FF0000"&gt;/test?param1=val1&amp;amp;param2=val2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try it on your browser.&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>Mon, 15 Feb 2016 10:47:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/115765#M20600</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-02-15T10:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/119668#M21400</link>
      <description>&lt;P&gt;Hi Sinhaa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot import your dar files, i get the below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Dar of a higher version '3.0.0.41.1_dhansak' cannot be imported into a lower version '3.0.0.39.1_dhansak' of WFA."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please provide a text version of the files so i can create my own?&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>Fri, 27 May 2016 06:16:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/119668#M21400</guid>
      <dc:creator>raj45__</dc:creator>
      <dc:date>2016-05-27T06:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/119671#M21401</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/50478"&gt;@raj45__﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you are getting the error because the .dar files are created on WFA3.1P1 and you likely have a WFA version older than that. Please Upgrade your WFA version to WFA3.1P2. Its has many enhancements and bugfixes over the older one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Providing text version... will take time. &amp;nbsp;&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;</description>
      <pubDate>Fri, 27 May 2016 07:17:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/119671#M21401</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-05-27T07:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/119835#M21440</link>
      <description>&lt;P&gt;Hi Sinhaa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get the command working. However, i have an issue with running built-in Mysql function in a Filter, like 'sec_to_time' mysql function. I can run it fine on the DB directly but it fails on the Filter. How can we use Mysql functions in filters?&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, 01 Jun 2016 22:11:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/119835#M21440</guid>
      <dc:creator>raj45__</dc:creator>
      <dc:date>2016-06-01T22:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: WAF - Email Output from a filter</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/119846#M21441</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/50478"&gt;@raj45__﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raj, how do you assume I can debug anything if all you say is "it fails". A filter query can fail in 100s of ways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you need to provide what error is thrown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using a function in a filter query is works same as when used outside of it. I've tried many functions including sec_to_time and it works just as expected. So there is no special way. A filter afterall is just another SQL query with some added WFA dictionay rules of natural keys to be selected. That's all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if as you say it works outside of WFA but fails when in a WFA filter, it most likely due to the need for selecting all natural keys.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you export your WFA filter that is failing and attach here?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 08:46:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WAF-Email-Output-from-a-filter/m-p/119846#M21441</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-06-02T08:46:08Z</dc:date>
    </item>
  </channel>
</rss>

