<?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: using an aggregate list from a sql query in a volume command in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14385#M2888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get the same type of error after changing the type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found value '$AggregateName' - expected object reference of type 'cm_storage.Aggregate'&lt;/P&gt;&lt;P&gt;At command 'Research -- Create volume - testing', tab 'Volume', variable 'volume1', property 'aggregate'&lt;/P&gt;&lt;P&gt;in the Details I see that it it looked like it put the name of the aggregate in the variable.&amp;nbsp; So &lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26223_flow-error.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26224_return+Parameters.JPG" width="450" /&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26225_AggregateName+setup+details.JPG" width="450" /&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26226_Code-Parameters+Mapping+of+Aggregate.JPG" width="450" /&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26227_Details+-+error+-+with+aggregate+name+shown.JPG" width="450" /&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26228_Setup+details.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2014 16:43:09 GMT</pubDate>
    <dc:creator>waynesilvia</dc:creator>
    <dc:date>2014-07-07T16:43:09Z</dc:date>
    <item>
      <title>using an aggregate list from a sql query in a volume command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14376#M2886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a workflow that I want to change from a filter/finder to a sql query and so that the person can choose from a list of aggregates to place a volume in.&amp;nbsp; I found sample sql queries for doing just that in the community and I tweaked it a little to represent what I wanted and that works fine when I run the workflow.&amp;nbsp; However, in the volume command I am not sure what to do.&amp;nbsp; I put in a variable name called $AggregateName in the aggregate field and a corresponding return parameter (volume.aggregate.name) in setup and does not work.&amp;nbsp;&amp;nbsp; I ran the workflow in preview and I get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found value '$AggregateName' - expected object reference of type 'cm_storage.Aggregate'&lt;/P&gt;&lt;P&gt;At command 'Research -- Create volume', tab 'Volume', variable 'volume', property 'aggregate'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get the information from the sql query and the aggregate selected in workflow to the aggregate property in the volume command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The volume command has cm.storage.volume as the type and the attribute is aggregate.name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cloned the Create volume certified command and called it Research -- Create volume.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:33:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14376#M2886</guid>
      <dc:creator>waynesilvia</dc:creator>
      <dc:date>2025-06-05T05:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: using an aggregate list from a sql query in a volume command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14382#M2887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Parameter AggregateName in the command is an object reference [ Notice a Blue 'R' in front of the AggregateName in workflow]&amp;nbsp; and hence you can't declare a variable &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;$AggregateName&lt;/SPAN&gt; for it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to modify the&amp;nbsp; Parameter "Type" and "Attribute" for the AggregateName parameter in your cloned command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set: Type: cm_storage.aggregate&lt;/P&gt;&lt;P&gt;Attribute: name&lt;/P&gt;&lt;P&gt;Object: AggregateName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save it. Now it should be fine to used $AggregateName and select query for User Input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See below.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26217_AggregateName.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2014 08:34:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14382#M2887</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-06-28T08:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: using an aggregate list from a sql query in a volume command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14385#M2888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get the same type of error after changing the type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found value '$AggregateName' - expected object reference of type 'cm_storage.Aggregate'&lt;/P&gt;&lt;P&gt;At command 'Research -- Create volume - testing', tab 'Volume', variable 'volume1', property 'aggregate'&lt;/P&gt;&lt;P&gt;in the Details I see that it it looked like it put the name of the aggregate in the variable.&amp;nbsp; So &lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26223_flow-error.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26224_return+Parameters.JPG" width="450" /&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26225_AggregateName+setup+details.JPG" width="450" /&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26226_Code-Parameters+Mapping+of+Aggregate.JPG" width="450" /&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26227_Details+-+error+-+with+aggregate+name+shown.JPG" width="450" /&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/26228_Setup+details.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 16:43:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14385#M2888</guid>
      <dc:creator>waynesilvia</dc:creator>
      <dc:date>2014-07-07T16:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: using an aggregate list from a sql query in a volume command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14390#M2889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly export and&amp;nbsp; attach your workflow, sceen-caps are not helping much. I've verified with the change and for me it works fine. If you don't want to share your workflow here, send the .dar file to my mail id: &lt;SPAN style="color: #0000ff;"&gt;sinhaa at netapp dot com&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 07:00:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14390#M2889</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-07-08T07:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: using an aggregate list from a sql query in a volume command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14395#M2890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Waynesilva:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a simple workflow for "Create&lt;/P&gt;&lt;P&gt;You can look for AggrName.&lt;/P&gt;&lt;P&gt;Let me know if you need further clarifications.&lt;/P&gt;&lt;P&gt;The file is named as *.dar.txt.&lt;/P&gt;&lt;P&gt;Please rename it to *.dar and import it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 06:34:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14395#M2890</guid>
      <dc:creator>abhit</dc:creator>
      <dc:date>2014-07-09T06:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: using an aggregate list from a sql query in a volume command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14400#M2892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Been away for a bit...thanks for working this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but the dar you attached is at 3.0.0.0.0...thats not available to me&amp;nbsp; I am at 2.2.0.2.6.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 19:11:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/using-an-aggregate-list-from-a-sql-query-in-a-volume-command/m-p/14400#M2892</guid>
      <dc:creator>waynesilvia</dc:creator>
      <dc:date>2014-07-22T19:11:28Z</dc:date>
    </item>
  </channel>
</rss>

