<?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: Dynamically select a Dataset (Add volume to Dataset) in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79210#M16493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;In the Dataset Tab, instead of selecting "Fill-in attributes for OraDatafiles and execute this command", select either "Abort Workflow" or "Disable command" drop-down option for "If OraDataFiles was not found" condition, I have attached this settings in my first post. "Disable command" option can be selected if you have use-case that in your workflow, there are some other commands after this "Add volume to Dataset" command and those commands needs to be executed irrespective of this command's execution status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this correct option selection,&amp;nbsp; you would be able to see the proper condition in Advanced Tab as you wished..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;Sivaprasad K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2013 15:13:31 GMT</pubDate>
    <dc:creator>kandati</dc:creator>
    <dc:date>2013-03-26T15:13:31Z</dc:date>
    <item>
      <title>Dynamically select a Dataset (Add volume to Dataset)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79184#M16485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scratching my head here - wonder of someone can help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 4 datasets which do the same thing, but at staggered schedules.&amp;nbsp; This is because I can't update all our Oracle mirrors using the same schedule as it overloads the source filers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have datasets called&amp;nbsp; 'ORA 1', 'ORA 2', 'ORA 3' &amp;amp; 'ORA 4'.&amp;nbsp; When we provision storage for a new database, it gets added to the dataset with the least resources (thus keeping them evenly balanaced, more or less).&amp;nbsp; So I want to do the same thing within a workflow using the 'Add volume to dataset' command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a filter which finds datasets by name prefix, and returns the dataset names in order of the number of resources, using the following SQL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset.name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset.qtree_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset.id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset.dfm_name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset.volume_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset.uuid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; count(*)&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.dataset&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset.name like '${name}%'&lt;/P&gt;&lt;P&gt;GROUP BY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset.name&lt;/P&gt;&lt;P&gt;ORDER BY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; count(*) asc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if $name is 'ORA %' then it returns my 4 datasets in the correct order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is, how can I use this filter/finder in the 'Add Volume to Dataset' command?&amp;nbsp; In the Dataset tab, I only get the option of using an 'Incremental Naming Wizard' for the dataset name field, but not sure this is what I'm looking for.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WFA 2.0, Windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:06:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79184#M16485</guid>
      <dc:creator>GARDINEC_EBRD</dc:creator>
      <dc:date>2025-06-05T06:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically select a Dataset (Add volume to Dataset)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79187#M16486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;There is a easy way to use the existing dataset (using filter/finder)&amp;nbsp; in 'Add Volume to Dataset' command.&lt;/P&gt;&lt;P&gt;In the "Add Volume to Dataset" command details-&amp;gt; Dataset Tab, select "by searching for an existing Dataset" drop-down option against "Define Dataset: " field as shown in the attachment. &lt;/P&gt;&lt;P&gt;And in the search criteria, select your filter/finder for dataset selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For, "If dataset1 is not found" condition, you can select any one of the drop-down option according to your use-case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that's it, you are done!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;Sivaprasad K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 15:38:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79187#M16486</guid>
      <dc:creator>kandati</dc:creator>
      <dc:date>2013-03-25T15:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically select a Dataset (Add volume to Dataset)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79196#M16487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaprasad K,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; That works, but it introduces another problem for me:- I'm also using the Advanced tab in the command to determine whether to run the command based on the value of the user variable $ProtectionLevel.&amp;nbsp; So, if $ProtectionLevel is Gold, Silver or Bronze it will execute the command, otherwise it will not.&amp;nbsp; When I set the Dataset name option to "by searching for an existing Dataset" as you suggest, it changes the 'Advanced' tab for the command - it now only executes the command if the Dataset was &lt;SPAN style="text-decoration: underline;"&gt;not found&lt;/SPAN&gt; AND $ProtectionLevel is Gold, Silver or Bronze.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is run the command if the $ProtectionLevel variable is correct and if the Dataset &lt;SPAN style="text-decoration: underline;"&gt;was found&lt;/SPAN&gt;.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 13:28:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79196#M16487</guid>
      <dc:creator>GARDINEC_EBRD</dc:creator>
      <dc:date>2013-03-26T13:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically select a Dataset (Add volume to Dataset)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79200#M16489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;I'm trying your use case in my environment..! &lt;/P&gt;&lt;P&gt;In meanwhile, can you please share Dataset tab &amp;amp; Advanced tab images to get better understanding, like what option you have chosen for "If dataset1 is not found" condition in Dataset tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sivaprasad K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 14:07:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79200#M16489</guid>
      <dc:creator>kandati</dc:creator>
      <dc:date>2013-03-26T14:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically select a Dataset (Add volume to Dataset)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79205#M16491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sivaprasad K, I appreciate your help with this!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's how I had it set up originally (by specifying the dataset name implicitly):&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/19351_wfa1.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/19348_wfa2.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the new setup (searching for dataset by name):&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/19352_wfa3.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/19350_wfa4.PNG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 14:31:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79205#M16491</guid>
      <dc:creator>GARDINEC_EBRD</dc:creator>
      <dc:date>2013-03-26T14:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically select a Dataset (Add volume to Dataset)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79210#M16493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;In the Dataset Tab, instead of selecting "Fill-in attributes for OraDatafiles and execute this command", select either "Abort Workflow" or "Disable command" drop-down option for "If OraDataFiles was not found" condition, I have attached this settings in my first post. "Disable command" option can be selected if you have use-case that in your workflow, there are some other commands after this "Add volume to Dataset" command and those commands needs to be executed irrespective of this command's execution status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this correct option selection,&amp;nbsp; you would be able to see the proper condition in Advanced Tab as you wished..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;Sivaprasad K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 15:13:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79210#M16493</guid>
      <dc:creator>kandati</dc:creator>
      <dc:date>2013-03-26T15:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically select a Dataset (Add volume to Dataset)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79219#M16496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, OK, I see:- so if either of those options are selected it changes the criteria from 'do this if &lt;EM&gt;not &lt;/EM&gt;found" to "do this if found".&amp;nbsp; Subtle difference, but it works as you say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 15:22:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Dynamically-select-a-Dataset-Add-volume-to-Dataset/m-p/79219#M16496</guid>
      <dc:creator>GARDINEC_EBRD</dc:creator>
      <dc:date>2013-03-26T15:22:43Z</dc:date>
    </item>
  </channel>
</rss>

