<?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 Create New Volume Based on Existing Volume Naming Convention in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-New-Volume-Based-on-Existing-Volume-Naming-Convention/m-p/5252#M1180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a basic workflow to create a volume and NFS export with several parameters. I have set up a few parameters that create the volume name based on user input and based on an already established volume naming convention. However, my final field in the volume name is a three digit, unique number based what is already in use on the chosen filer. How can I increment this number based on existing volumes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Volume Name Convention: &amp;lt;Environment&amp;gt;_&amp;lt;Filer&amp;gt;_&amp;lt;Unique Number&amp;gt;&lt;/P&gt;&lt;P&gt;Existing filer1 Volumes: Prod_filer1_001, Prod_filer1_002, Test_filer1_001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first two fields are filled in with variables selected by the user from drop downs. How can I compare what the user has selected and grab the next unique number?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Example: The user selects Prod and filer1 for the first two fields. The workflow sees that 'Prod_filer1_001' and 'Prod_filer1_002' already exist on filer1 and sets the new volume name as 'Prod_filer1_003'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like a combination of a finder and function are needed, but I can't seem to put it together.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 20:06:19 GMT</pubDate>
    <dc:creator>mtaormina</dc:creator>
    <dc:date>2013-02-13T20:06:19Z</dc:date>
    <item>
      <title>Create New Volume Based on Existing Volume Naming Convention</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-New-Volume-Based-on-Existing-Volume-Naming-Convention/m-p/5252#M1180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a basic workflow to create a volume and NFS export with several parameters. I have set up a few parameters that create the volume name based on user input and based on an already established volume naming convention. However, my final field in the volume name is a three digit, unique number based what is already in use on the chosen filer. How can I increment this number based on existing volumes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Volume Name Convention: &amp;lt;Environment&amp;gt;_&amp;lt;Filer&amp;gt;_&amp;lt;Unique Number&amp;gt;&lt;/P&gt;&lt;P&gt;Existing filer1 Volumes: Prod_filer1_001, Prod_filer1_002, Test_filer1_001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first two fields are filled in with variables selected by the user from drop downs. How can I compare what the user has selected and grab the next unique number?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Example: The user selects Prod and filer1 for the first two fields. The workflow sees that 'Prod_filer1_001' and 'Prod_filer1_002' already exist on filer1 and sets the new volume name as 'Prod_filer1_003'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like a combination of a finder and function are needed, but I can't seem to put it together.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 20:06:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-New-Volume-Based-on-Existing-Volume-Naming-Convention/m-p/5252#M1180</guid>
      <dc:creator>mtaormina</dc:creator>
      <dc:date>2013-02-13T20:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Volume Based on Existing Volume Naming Convention</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-New-Volume-Based-on-Existing-Volume-Naming-Convention/m-p/5257#M1183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're looking for the incremental naming wizard &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As this is a very common task, WFA has a built-in feature for this. Move your mouse over the volume name input field and you'll see a button appearing on the right side of the field. Click on it to open the incremental naming wizard. Here you can select a filter or finder to find the last volume name that was already used. In your case, a filter based on a volume prefix should do the trick. The prefix is a combination of the user inputs such as: $environment + '_' + $filer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simply tell WFA to increment by 1 (and what the name is when no existing volume is found, e.g. you are creating the first volume). Everything is automagically handled by WFA. Enjoy &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/18754_WFA_incremental_naming.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hendrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 21:27:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-New-Volume-Based-on-Existing-Volume-Naming-Convention/m-p/5257#M1183</guid>
      <dc:creator>hland</dc:creator>
      <dc:date>2013-02-13T21:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Volume Based on Existing Volume Naming Convention</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-New-Volume-Based-on-Existing-Volume-Naming-Convention/m-p/5264#M1187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. This is exactly what i was looking for. It even pads the number for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 12:19:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-New-Volume-Based-on-Existing-Volume-Naming-Convention/m-p/5264#M1187</guid>
      <dc:creator>mtaormina</dc:creator>
      <dc:date>2013-02-14T12:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Volume Based on Existing Volume Naming Convention</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-New-Volume-Based-on-Existing-Volume-Naming-Convention/m-p/112216#M19855</link>
      <description>&lt;P&gt;Further to this, is there a way to recurse this? As in, a user enter "volume0001", but volumes 0001-0005 already exist, and have WFA set the new volume name as 0006?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2015 10:47:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-New-Volume-Based-on-Existing-Volume-Naming-Convention/m-p/112216#M19855</guid>
      <dc:creator>KevHaynes</dc:creator>
      <dc:date>2015-11-05T10:47:37Z</dc:date>
    </item>
  </channel>
</rss>

