<?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: Workflow to create a volume name from a pattern in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64021#M13336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood what your requirement is. I am working on creating a function to get you a qtree name in the appropriate fashion. Will give you the function ASAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2014 10:17:28 GMT</pubDate>
    <dc:creator>ag</dc:creator>
    <dc:date>2014-02-26T10:17:28Z</dc:date>
    <item>
      <title>Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64004#M13332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need your help to have a workflow which can create a volume and qtree, its name shall be based on the name of its containing volume and vserver (Pattern selection).&lt;/P&gt;&lt;P&gt;for example if the Vserver name is INBLRVS0012 and&lt;/P&gt;&lt;P&gt;We need to have the volume name as BLR012v&amp;lt;xxx&amp;gt; this xxx is the three digit serial number and it keeps increasing from the last available volume serial.&lt;/P&gt;&lt;P&gt;We need to have the qtree name as INBLR012v&amp;lt;VolumeSerial&amp;gt;n&amp;lt;Qtreeserial&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:42:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64004#M13332</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2025-06-05T05:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64010#M13334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you haven't come across a very useful feature of WFA called the "Incremental Naming".&lt;/P&gt;&lt;P&gt;Read more about it below and check out the attachment for an example. Reach out if you need more assistance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incremental naming is an algorithm that enables you to name the attributes in a workflow based on&lt;/P&gt;&lt;P&gt;the search results for a parameter. You can name the attributes based on an incremental value or a&lt;/P&gt;&lt;P&gt;custom expression. The incremental naming functionality helps you implement a naming convention&lt;/P&gt;&lt;P&gt;based on your requirement.&lt;/P&gt;&lt;P&gt;You can use the incremental naming functionality when designing workflows to dynamically name&lt;/P&gt;&lt;P&gt;the objects created by the workflow. The functionality enables you to specify a search criteria for an&lt;/P&gt;&lt;P&gt;object using the resource selection feature and the value returned by the search criteria is used for the&lt;/P&gt;&lt;P&gt;object's attribute. In addition, you can specify a value for the attribute if no object was found with the&lt;/P&gt;&lt;P&gt;specified search criteria.&lt;/P&gt;&lt;P&gt;You can use one of the following options for naming the attributes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Providing an increment value and suffix&lt;/P&gt;&lt;P&gt;You can provide a value that should be used along with the value of the object found by the&lt;/P&gt;&lt;P&gt;search criteria and increment with the number you specify. For example, if you want to create&lt;/P&gt;&lt;P&gt;volumes with the naming convention of filer name_unique number_environment, you can&lt;/P&gt;&lt;P&gt;use a finder to find the last volume by its name prefix and increment the unique number by 1, as&lt;/P&gt;&lt;P&gt;well as add the suffix name to the volume name. If the last volume name prefix found was&lt;/P&gt;&lt;P&gt;vf_023_prod and you are creating three volumes, the names for the volumes created are&lt;/P&gt;&lt;P&gt;vf_024_prod, vf_025_prod, and vf_026_prod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Providing a custom expression&lt;/P&gt;&lt;P&gt;You can provide a value that should be used along with the value of the object found by the&lt;/P&gt;&lt;P&gt;search criteria and add additional values based on the expression you enter. For example, if you&lt;/P&gt;&lt;P&gt;want to create a volume with the naming convention of last volume name_environment&lt;/P&gt;&lt;P&gt;name padded with 1, you can enter the expression last_volume.name + '_' +&lt;/P&gt;&lt;P&gt;nextName("lab1"). If the last volume name found was vf_023, the name for the volume&lt;/P&gt;&lt;P&gt;created is vf_023_lab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Anil G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Feb 2014 16:19:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64010#M13334</guid>
      <dc:creator>ag</dc:creator>
      <dc:date>2014-02-16T16:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64016#M13335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the Incremental Naming will help us only if we have a selective pattern and have volume created previously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in our case we are looking for a customization in the name, so in this case we just dont always want to do an increment in the number based on the previous volume, instead we would like to choose the qtree name based on its containing volume -&amp;gt; export-policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in this case:&lt;/P&gt;&lt;P&gt;Cluster -&amp;gt; INBLRX101&lt;/P&gt;&lt;P&gt;Vserver name -&amp;gt; INBLRVX001&lt;/P&gt;&lt;P&gt;Volume name -&amp;gt; BLR001v002 (Incremental Naming will help us in this case)&lt;/P&gt;&lt;P&gt;Export-Policy name -&amp;gt; db2bi_ga1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the qtree name is a questions, because the expected qtree name is :&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;BLRv002_db2bi_ga1_n001&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;here in this case&lt;/P&gt;&lt;P&gt;BLRv002 is taken from the volume name &lt;STRONG&gt;BLR&lt;/STRONG&gt;001&lt;STRONG&gt;v002 &lt;/STRONG&gt;followed by &lt;STRONG&gt;_&lt;/STRONG&gt; and add an export policy &lt;STRONG&gt;db2bi_ga1 &lt;/STRONG&gt;followed by &lt;STRONG&gt;_ &lt;/STRONG&gt;and &lt;STRONG&gt;"n" an &lt;/STRONG&gt;incremental number within the same volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this needs to be done using some custom script (Pattern matching). its just that we need to take the 1st three and last 4 letters from volume.&lt;/P&gt;&lt;P&gt;It would be great help if someone can help us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,Sheel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 07:27:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64016#M13335</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2014-02-26T07:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64021#M13336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood what your requirement is. I am working on creating a function to get you a qtree name in the appropriate fashion. Will give you the function ASAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 10:17:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64021#M13336</guid>
      <dc:creator>ag</dc:creator>
      <dc:date>2014-02-26T10:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64026#M13337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sheel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a function to calculate one from the other. Take a look at nextNamePadded/nextNamePaddedBy to see how Regular Expressions can be used to extract underscore separated volumes names and generate new names with compoents of the last-found volume/qtree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Create Volume name field; The variable last_volume is populated with the top selection from the search field in the "Incremental Naming Wizard's" filter so you can pass last_volume.name into the function to calculate the volume name, then use the volume id to calculate the qtree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are generating both, you can use an MVEL function to calculate a qtree name from the volume name, using similar logic from the nextNamePadded function. It uses regular expressions in mvel to split based on regular expressions which are quite powerful. It is worth googling mvel and learning how to write functions, as these are very powerful and can be used to calculate any field in WFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 10:33:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64026#M13337</guid>
      <dc:creator>mgoddard</dc:creator>
      <dc:date>2014-02-26T10:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64031#M13338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sheel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Me and my Colleague Sundar created a custom function to achieve your goal.&lt;/P&gt;&lt;P&gt;Steps you need to follow:&lt;/P&gt;&lt;P&gt;1. Create a custom function like this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25012_fucntion_getQtreeName.PNG" style="width: 829.1878172588832px; height: 363px;" width="829" /&gt;&lt;/P&gt;&lt;P&gt;2. I am assuming your workflow looks something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25007_workflow.PNG" style="font-size: 10pt; height: 395px; width: 720.015015015015px;" width="720" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;3. In&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; your workflow, use this function in "create qtree" command as shown below.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; The name field is not completely visible, therefore, here is the input given to that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nextNamePadded(getQtreeName(volume1.name,"_",export_policy1.name))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25013_create+qtree1.PNG" style="width: 663.1578947368421px; height: 476px;" width="663" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Additionally, you can have create one more qtree with the name as shown below:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25014_create+qtree2.PNG" style="width: 686.1111111111111px; height: 494px;" width="686" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. You are done.&lt;/P&gt;&lt;P&gt;6. Here is a sample Execution output:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25015_Custom+Incremental+function.PNG" style="width: 742.1370967741935px; height: 409px;" width="742" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps in some way.&lt;/P&gt;&lt;P&gt;Let me know if you need further help or clarity in the above mentioned steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 14:19:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64031#M13338</guid>
      <dc:creator>ag</dc:creator>
      <dc:date>2014-02-26T14:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64037#M13339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just to add few more items in the name, as i was wondering how possibly I can add a custom string in the name of the qtree.&lt;/P&gt;&lt;P&gt;So in the above example you mentioned "nextNamePadded(getQtreeName($vserver,"_",volume1.name))" which gives us something like "INBLR_v001d001". but then I would like to add a custom string from the list of available choices (these choices will help us in charging catogary)&lt;/P&gt;&lt;P&gt;a0&lt;/P&gt;&lt;P&gt;a1&lt;/P&gt;&lt;P&gt;a2&lt;/P&gt;&lt;P&gt;a4&lt;/P&gt;&lt;P&gt;and the name shall be "INBLR_a0_v001d001". .. i tried to append your given function with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;def getQtreeName (vserver, seperator, &lt;EM&gt;charging&lt;/EM&gt;, seperator, volume)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String splitvserver = vserver.substring(0,5);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String splitvolume = volume.substring(volume.length()-4, volume.length());&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String QtreeName = splitvserver + seperator + charging+&amp;nbsp; seperator + splitvolume + "d000";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return QtreeName;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;giving the following for qtree name options "&lt;EM&gt;nextNamePadded(getQtreeName($vserver,"_",$&lt;EM&gt;charging&lt;/EM&gt;,"_",volume1.name))&lt;/EM&gt;" but I must be doing some error and so its not working.&lt;/P&gt;&lt;P&gt;May be i am not getting how to add a custom string in a way that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing which i noticed is that the last value that we are giving is "d000" and it increased the value by one within the same volume, and if we start with a new volume the number starts by 001 again. is it possible to increase the number after the last qtree name/number within the vserver. so we would like to see it like this:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="352"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="font-size: 11pt; color: white; font-weight: bold; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none none solid; border-top-color: #5b9bd5; border-left-width: 0.5pt; border-left-color: #5b9bd5; background-color: #5b9bd5;" width="153"&gt;Volume&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: white; font-weight: bold; font-family: Calibri; border-top-width: 0.5pt; border-style: solid solid none none; border-top-color: #5b9bd5; border-right-width: 0.5pt; border-right-color: #5b9bd5; background-color: #5b9bd5;" width="199"&gt;Qtree&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none none solid; border-top-color: #5b9bd5; border-left-width: 0.5pt; border-left-color: #5b9bd5;"&gt;got9002v001&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid solid none none; border-top-color: #5b9bd5; border-right-width: 0.5pt; border-right-color: #5b9bd5;"&gt;segot_a1_x9002d002&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none none solid; border-top-color: #5b9bd5; border-left-width: 0.5pt; border-left-color: #5b9bd5;"&gt;got9002v002&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid solid none none; border-top-color: #5b9bd5; border-right-width: 0.5pt; border-right-color: #5b9bd5;"&gt;segot_b0_x9002d003&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none solid solid; border-top-color: #5b9bd5; border-bottom-width: 0.5pt; border-bottom-color: #5b9bd5; border-left-width: 0.5pt; border-left-color: #5b9bd5;"&gt;got9002v003&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid solid solid none; border-top-color: #5b9bd5; border-right-width: 0.5pt; border-right-color: #5b9bd5; border-bottom-width: 0.5pt; border-bottom-color: #5b9bd5;"&gt;segot_a4_x9002d004&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 13:10:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64037#M13339</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2014-04-04T13:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64042#M13340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have two requirements here.&lt;/P&gt;&lt;P&gt;1. You need a qtree whose name follows the pattern:&lt;/P&gt;&lt;P&gt;vserver+seperator+charging+seperator+volume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this 'charging' variable unique to a given qtree/volume/vserver?&lt;/P&gt;&lt;P&gt;Assume it is unique for a volume, how are you going to provide unique "charging" values for each volume. I can imagine you providing the "charging" value for one volume through a drop down, but for multiple volumes, you will need multiple drop downs.&lt;/P&gt;&lt;P&gt;You say that you are getting an error, what error is it exactly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. What is your workflow exactly trying to do? Will it create multiple volumes containing multiple qtrees each? or is it multiple volumes with ONE qtree each?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 04:48:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64042#M13340</guid>
      <dc:creator>ag</dc:creator>
      <dc:date>2014-04-07T04:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64046#M13341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will be using a fixed set of charging variable from the dropdown list and will be added to a each qtree name, (we need to put this in a qtree name is because of quota on each qtree is applied). this charging variable will reflect us towards the service. and one vserver as we are planning can have more then one service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your second question, it would be having one qtree per volume. as shown in below example, we have one qtree per volume but the qtree number keeps increasing within a vserver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 352px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="border-bottom: black 0; border-left: #5b9bd5 0.5pt solid; background-color: #5b9bd5; font-family: Calibri; color: white; font-size: 11pt; border-top: #5b9bd5 0.5pt solid; font-weight: bold; border-right: black 0;" width="153"&gt;Volume&lt;/TD&gt;&lt;TD style="border-bottom: black 0; border-left: black 0; background-color: #5b9bd5; font-family: Calibri; color: white; font-size: 11pt; border-top: #5b9bd5 0.5pt solid; font-weight: bold; border-right: #5b9bd5 0.5pt solid;" width="199"&gt;Qtree&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border-bottom: black 0; border-left: #5b9bd5 0.5pt solid; font-family: Calibri; color: black; font-size: 11pt; border-top: #5b9bd5 0.5pt solid; border-right: black 0;"&gt;got9002v001&lt;/TD&gt;&lt;TD style="border-bottom: black 0; border-left: black 0; font-family: Calibri; color: black; font-size: 11pt; border-top: #5b9bd5 0.5pt solid; border-right: #5b9bd5 0.5pt solid;"&gt;segot_a1_x9002d002&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border-bottom: black 0; border-left: #5b9bd5 0.5pt solid; font-family: Calibri; color: black; font-size: 11pt; border-top: #5b9bd5 0.5pt solid; border-right: black 0;"&gt;got9002v002&lt;/TD&gt;&lt;TD style="border-bottom: black 0; border-left: black 0; font-family: Calibri; color: black; font-size: 11pt; border-top: #5b9bd5 0.5pt solid; border-right: #5b9bd5 0.5pt solid;"&gt;segot_b0_x9002d003&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border-bottom: #5b9bd5 0.5pt solid; border-left: #5b9bd5 0.5pt solid; font-family: Calibri; color: black; font-size: 11pt; border-top: #5b9bd5 0.5pt solid; border-right: black 0;"&gt;got9002v003&lt;/TD&gt;&lt;TD&gt;segot_a4_x9002d004&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me the error you are asking is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Failed to resolve expression 'nextNamePadded(getQtreeName($vserver,"_",$charging,"_",volume1.name))'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;At command '{CST}_Create qtree', tab 'Qtree', variable 'qtree1', property 'name'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added a custom variable in the qtree create command called backup. but then it will also not solve the purpose of increasing the number of qtree within the vserver, with this it is increasing the for multiple qtree within the volume.&lt;/P&gt;&lt;P&gt;I am also attacging the Workflow which i have create and which is not working ! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 06:30:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64046#M13341</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2014-04-07T06:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64051#M13342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sheelnidhig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably don't want to modify the Qtree create command - this will remove the reservation code and will result in subsequent workflow runs not knowing about previous qtree creations until the UM/WFA datasource update cycle has completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some code to help with your qtree naming challenge. There is a filter to grab all qtrees in a vserver which also extracts the last 3 digits in the qtree name as a returned 'ordinal' attribute. A finder that sorts the results by ordinal (descending), and a function to increment the number and append to a custom prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the incremental qtree naming dialog will look like:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25408_incrementalNamingQtree.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;where "myPrefix" will be replaced with your prefix generation code in both the "no Qtree matches" field and the "Custom expression" field. Search criteria uses the "Last Qtree Ordinal by Vserver" finder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 00:20:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64051#M13342</guid>
      <dc:creator>ktim</dc:creator>
      <dc:date>2014-04-09T00:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64056#M13343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works very well. for the first time.&lt;/P&gt;&lt;P&gt;But then if i execute it for second time, we get a new volume number but the qtree sequence number if not increasing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be because the OnCommand Unified Manager 6.1 have not yet discovered the new qtree or WFA does not keeps the Qtree infomraiton in its Database cache.&lt;/P&gt;&lt;P&gt;I dont know, but i also tried looking at the OnCommand Unified manager refresh but the available commands are for 7-mode not for cluster mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing anything or this Qtree name caching feature is not available in WFA for now ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am anyways attaching the workflow... just incase if someone wants to look at it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,Sheel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 09:15:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64056#M13343</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2014-04-10T09:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64061#M13344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here is the command to do a refresh of OCUM in cDot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/message/124437#124437" title="https://communities.netapp.com/message/124437#124437" target="_blank"&gt;https://communities.netapp.com/message/124437#124437&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 11:05:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64061#M13344</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2014-04-10T11:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to create a volume name from a pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64066#M13345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You appear to be using the Filter that I provided without adjusting the sort order. If you use the Finder I included, it includes the sort order so the next number will be based on the highest ordinal, rather than the last alphabetical name as your workflow is current doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qtree reservations are present in the standard Qtree creation commands so it should work fine without forcing a refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 11:52:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-create-a-volume-name-from-a-pattern/m-p/64066#M13345</guid>
      <dc:creator>ktim</dc:creator>
      <dc:date>2014-04-10T11:52:02Z</dc:date>
    </item>
  </channel>
</rss>

