<?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 WFA User Input Choices / Drop-Down Menu in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-User-Input-Choices-Drop-Down-Menu/m-p/129888#M23435</link>
    <description>&lt;P&gt;I'm wondering if anyone could provide advice or get me pointed in the right direction. I want to have a CIFS Share created on an existing volume that is chosen based on user choices. For example....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the user to select location, application, and environment using dropdown menus, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select location: Hawaii...Ohio.... Texas&lt;/P&gt;&lt;P&gt;Select application: app1...app2....app3.....app4&lt;/P&gt;&lt;P&gt;Select environment: Prod....Test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, based on choices, a CIFS share is created. For example, if Ohio, app1, and Test are selected, the share would be created on VolumeX. Other choice combinations would indicate VolumeY or VolumeZ would be used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not familiar with how to give the user choices from a dropdown menu in WFA. I'm also not sure how to use&amp;nbsp;the combination of choices to determine the volume where the CIFS share would be created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone worked on an example like this before?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 15:14:07 GMT</pubDate>
    <dc:creator>A_Campbell</dc:creator>
    <dc:date>2025-06-04T15:14:07Z</dc:date>
    <item>
      <title>WFA User Input Choices / Drop-Down Menu</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-User-Input-Choices-Drop-Down-Menu/m-p/129888#M23435</link>
      <description>&lt;P&gt;I'm wondering if anyone could provide advice or get me pointed in the right direction. I want to have a CIFS Share created on an existing volume that is chosen based on user choices. For example....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the user to select location, application, and environment using dropdown menus, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select location: Hawaii...Ohio.... Texas&lt;/P&gt;&lt;P&gt;Select application: app1...app2....app3.....app4&lt;/P&gt;&lt;P&gt;Select environment: Prod....Test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, based on choices, a CIFS share is created. For example, if Ohio, app1, and Test are selected, the share would be created on VolumeX. Other choice combinations would indicate VolumeY or VolumeZ would be used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not familiar with how to give the user choices from a dropdown menu in WFA. I'm also not sure how to use&amp;nbsp;the combination of choices to determine the volume where the CIFS share would be created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone worked on an example like this before?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:14:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-User-Input-Choices-Drop-Down-Menu/m-p/129888#M23435</guid>
      <dc:creator>A_Campbell</dc:creator>
      <dc:date>2025-06-04T15:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: WFA User Input Choices / Drop-Down Menu</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-User-Input-Choices-Drop-Down-Menu/m-p/129892#M23437</link>
      <description>&lt;P&gt;WFA supports two types of dropdown user inputs:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ENUM - where the wfa-programmer codes a comma separated list of dropdown choice values (Hawaii, Ohio, etc)&lt;/LI&gt;&lt;LI&gt;QUERY - where the wfa-programmer provides SQL code to present row-values from a WFA Cache DB dictionary/table (table: &lt;STRONG&gt;location&lt;/STRONG&gt; with rows for Hawaii, Ohio, etc)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The first is easist to implement. However, it's not extensible by non-wfa-programmers and once you get a catalog of several workflows that may need this construct you've got to edit each workflow's ENUM choices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look into EDM-Pack at the automationstore.netapp.com (or in this forum at: &lt;SPAN&gt;&lt;A href="http://nt-ap.com/2nhZ2nl" target="_blank"&gt;http://nt-ap.com/2nhZ2nl&lt;/A&gt; with a UserGuide)&lt;/SPAN&gt;. It lets you build those sorts of tables (for the UI QUERY fields) by just setting them up as tables in Microsoft&amp;nbsp;Excel. Then in WFA the SQL would be something like "SELECT name,description FROM mycompanies.location" and the dropdown is your table of locations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to determine which volume the share points to? ... that could be based on other information in your tables, and/or MVEL expressions like: (&amp;nbsp;from your example exactly )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;( $location == '&lt;SPAN&gt;Ohio' &amp;amp;&amp;amp; $application == 'app1' &amp;amp;&amp;amp; $environment == 'test' ) ?VolumeX :VolumeY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where "( ) ? :" is a WFA MVEL IF-THEN-ELSE&amp;nbsp;construct (== is 'equal test ... &amp;nbsp;&amp;amp;&amp;amp; is 'and' ... || is 'or' ... ? is THEN ... : is ELSE). This is a pretty painful way to do it. It would work better if you can embed info (other table columns) in your tables to make it easier to determine the volume but I don't know enough about your&amp;nbsp;business-logic needs to offer more.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 20:44:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-User-Input-Choices-Drop-Down-Menu/m-p/129892#M23437</guid>
      <dc:creator>dkorns</dc:creator>
      <dc:date>2017-04-06T20:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: WFA User Input Choices / Drop-Down Menu</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-User-Input-Choices-Drop-Down-Menu/m-p/129911#M23439</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/50112"&gt;@dkorns&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a tremendous help to get me started on this. I will move forward with your suggestions, really appreciate the advice.&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;Adam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 12:33:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-User-Input-Choices-Drop-Down-Menu/m-p/129911#M23439</guid>
      <dc:creator>A_Campbell</dc:creator>
      <dc:date>2017-04-07T12:33:46Z</dc:date>
    </item>
  </channel>
</rss>

