<?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: Custom Error Message When Filter/Finder Fails in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107178#M18902</link>
    <description>&lt;P&gt;Thanks for the feeback Adai. I'm already working on something on those lines to help wfa customers make better use of the product.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll be posting it soon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2015 14:17:56 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2015-07-09T14:17:56Z</dc:date>
    <item>
      <title>Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107115#M18888</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have a Worflow with a finder for volume resize, where it make sure, because of the volume resize, the containing aggr doest breach any of the aggr thresholds like&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Aggregate Used Space Threshold of say 80%&lt;/LI&gt;&lt;LI&gt;Aggregate OverCommitment Threshold of say 120%&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;When an user provides all input and the finder fails as it breached one of the two or both, I get a generic error as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to execute filter 'Filter Volume Based on the Containing Aggregates OverCommit and Used Space Threshold Tacking Snapshot into account' with parameters: {clusterName=cluster1, aggrOverCommitInPercentage=120, volName=volume1, svmName=vserver1, TargetUsedDecimalPct=0.8, aggrUsedSpaceInPercentage=80}&lt;BR /&gt;At command 'Find Volume and its Aggr Used, OverCommit Percentage', tab 'Volume', variable 'findVolume', property 'name'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have a custom error message in the advace tab of the resource section as below.&lt;/P&gt;&lt;P&gt;So my question is how to get the custom error message when this resource selection fails, instead of generic error message ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ResourceSelection.JPG" style="width: 743px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/3138iBD4666B02461ED2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ResourceSelection.JPG" alt="ResourceSelection.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 23:52:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107115#M18888</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2025-06-04T23:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107129#M18891</link>
      <description>&lt;P&gt;Adai,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The section to enter custom error message is MVEL enabled. You can identify this easily by looking at the instruction &amp;nbsp;message above box:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Type CTRL +DOWN Arrow for auto complete options)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This message box is has auto complete option available. Places like Workflow description, Execution Comments are NOT MVEL enabled and so auto complete is avalable for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;So for giving a custom message all you need to do is put the message within double-quotes.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/3142iD0A50242D7805AE8/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="pic2.png" title="pic2.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/3143iF95C4CABF572FE9E/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="pic2.png" title="pic2.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 09:24:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107129#M18891</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-07-08T09:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107144#M18898</link>
      <description>&lt;P&gt;Thanks Abhishek, that dint strike me. Learnt it now.&lt;/P&gt;&lt;P&gt;So can I get some of the variable or constant values in there ? If its MVEL enabled with autocomplete ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:12:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107144#M18898</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2015-07-08T18:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107146#M18899</link>
      <description>&lt;P&gt;That explanation was crystal clear and really stay in for ever. Would be great if such informations are availabe in Workflow developer Guide or a FAQ on some of the tricks like this and others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:13:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107146#M18899</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2015-07-08T18:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107178#M18902</link>
      <description>&lt;P&gt;Thanks for the feeback Adai. I'm already working on something on those lines to help wfa customers make better use of the product.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll be posting it soon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 14:17:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107178#M18902</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-07-09T14:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107543#M18962</link>
      <description>&lt;P&gt;Hi Sinhaa,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Looks like I hit a bug or I am missing something. When I use reference varialbe in the Custom Error Message it thorw error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my custom error Message:&lt;/P&gt;&lt;P&gt;Message:&lt;/P&gt;&lt;P&gt;"The Containining aggregate - " + findVolume.aggregate.name + " of volume " + findVolume.name + " is exceeding one or both of the following thresholds Aggregate OverCommit % - " + AggrOverCommitInPercentage + " and Aggregate Used % - " + AggrUsedSpaceInPercentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;Illegal expression: "The Containining aggregate - " + findVolume.aggregate.name + " of volume " + findVolume.name + " is exceeding one or both of the following thresholds Aggregate OverCommit % - " + AggrOverCommitInPercentage + " and Aggregate Used % - " + AggrUsedSpaceInPercentage&lt;BR /&gt;At command 'Find Volume and its Aggr Used, OverCommit Percentage', tab 'Volume', variable 'findVolume', property 'name'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where as when I use just constants and userinput it works like a charm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message:&lt;/P&gt;&lt;P&gt;"The Resize of the Volume " + $volName + " by" + $incrementSizeInMB + " GB is exceeding one or both the aggregates theresholds, Aggr OverCommit = " + AggrOverCommitInPercentage + " % and Aggr Used = " + AggrUsedSpaceInPercentage + " %"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;Workflow aborted.&lt;BR /&gt;The Resize of the Volume cifs_audit_test_02 by1 GB is exceeding one or both the aggregates theresholds, Aggr OverCommit = 120 % and Aggr Used = 80 %&lt;BR /&gt;At command 'Find Volume and its Aggr Used, OverCommit Percentage', tab 'Volume', variable 'findVolume'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The WFA version is&amp;nbsp;2416155&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 01:33:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107543#M18962</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2015-07-22T01:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107548#M18965</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This is not a wfa bug.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;"The Containining aggregate - " + findVolume.aggregate.name + " of volume " + findVolume.name + " is exceeding one or both of the following thresholds Aggregate OverCommit % - " + AggrOverCommitInPercentage + " and Aggregate Used % - " + AggrUsedSpaceInPercentage&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, how am I suppose to know just by looking at the above message what is findVolume, &lt;SPAN&gt;AggrOverCommitInPercentage &lt;/SPAN&gt;and where is all it defined in your workflow? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adai, the basic requirement to debug a workflow planning/preview error like this is to have the workflow and you haven't provided it. So please do.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sinhaa&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 11:18:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107548#M18965</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-07-22T11:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107587#M18976</link>
      <description>&lt;P&gt;Hi Sinhaa,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have emailed you the workflow. Once you take a look and let me know, will post back the findings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2015 01:09:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107587#M18976</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2015-07-23T01:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107661#M18988</link>
      <description>&lt;P&gt;Adai,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just as I suspected before looking at your workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The Containining aggregate - " + &lt;FONT color="#FF0000"&gt;findVolume.aggregate.name&lt;/FONT&gt; + " of volume " + &lt;FONT color="#FF0000"&gt;findVolume.name&lt;/FONT&gt; + " is exceeding one or both of the following thresholds Aggregate OverCommit % - " + AggrOverCommitInPercentage + " and Aggregate Used % - " + AggrUsedSpaceInPercentage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem here is self-referencing. So this error section has to be executed when findVolume is NOT found. See now, you are using&amp;nbsp;findVolume.aggregate.name in the error message if the&amp;nbsp;findVolume is NOT found, right? So if&amp;nbsp;findVolume itself is not found i.e. NULL because the filter fails to find a correct volume then how can it get&amp;nbsp;findVolume.aggregate.name or&amp;nbsp;findVolume.name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So now this expression become illegal. Auto-complete can't detect this, it only shows the valid columns for the variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope this is clear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sinhaa&lt;/SPAN&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 02:30:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107661#M18988</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-07-24T02:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Message When Filter/Finder Fails</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107664#M18991</link>
      <description>&lt;P&gt;Understood. Thanks for the clarificaiton.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 02:52:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-Error-Message-When-Filter-Finder-Fails/m-p/107664#M18991</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2015-07-24T02:52:50Z</dc:date>
    </item>
  </channel>
</rss>

