<?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: Adapter &amp;quot;0d&amp;quot; resolved as d in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11135#M2285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@sinhaa, it's fine for strings inside the workflow designer to be MVEL - that's for developers. These are user input strings presented to end users. While we provide a "Learn about MVEL" link on each user input dialog, the attached help does not indicate that user input fields are MVEL enabled... it says "Several fields in OnCommand Workflow Automation (WFA) are enabled for MVFLEX Expression Language (MVEL). You can use MVEL syntaxes in these fields &lt;EM&gt;&lt;STRONG&gt;while designing workflows&lt;/STRONG&gt;&lt;/EM&gt;". (No mention of "when providing workflow parameters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what possible value could be derived from putting an expression into an user input field. Is anyone in the field using this? Do we really want every parameter query that could possibly include something that might be parsable as an MVEL expression to quote/escape that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples, comparing user input field translation with regular field translation:&lt;/P&gt;&lt;P&gt;1+2 : UserInput: 1+2&amp;nbsp;&amp;nbsp; RegularMVEL: 3&lt;/P&gt;&lt;P&gt;"1"+2: UserInput: "1"+2 RegularMVEL: 12&lt;/P&gt;&lt;P&gt;1+(int)"2": UserInput: 1+(int)"2"&amp;nbsp; RegularMVEL: 3&lt;/P&gt;&lt;P&gt;ab+c: UserInput: ab+c RegularMVEL: &amp;lt;error - Failed to resolve expression 'ab+c'&amp;gt;&lt;/P&gt;&lt;P&gt;"1"+"2" : UserInput: 12&amp;nbsp; RegularMVEL: 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess we have a solution to Modi's problem - add quotes to the query SQL output:&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; distinct CONCAT("'",fcp_adapter.name,"'") AS fcp_adapter&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cm_storage.fcp_adapter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cm_storage.cluster&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcp_adapter.status = 'online'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND cluster.name = '${PrimaryCluster}'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2014 07:19:02 GMT</pubDate>
    <dc:creator>ktim</dc:creator>
    <dc:date>2014-07-29T07:19:02Z</dc:date>
    <item>
      <title>Adapter "0d" resolved as d</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11104#M2274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Can you please help resolve something that seems like an issue with WFA?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;Am using SQL user input to select a FCP adapter “0d” passed as a parameter to the finder &lt;/SPAN&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;It seems to resolve &lt;STRONG&gt;“0c” fine&lt;/STRONG&gt; but &lt;STRONG style="color: #ff0000;"&gt;“0d” resolves as d&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The certified workflow “Create and configure SAN Storage Virtual Machine” and its finder works fine but it does not take “FCP Adapter by Name” as an input.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Modi&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:31:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11104#M2274</guid>
      <dc:creator>mmodi</dc:creator>
      <dc:date>2025-06-05T05:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adapter "0d" resolved as d</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11110#M2276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Modi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't as yet know why is this happening but I can tell you how to get out of it and proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since your User-Input for parameter : FCP_TARGET_PORT_1 and FCP_TARGET_PORT_1 do not have "Lock Values" checked, you can select 0d from drop-down list and add double quotes to it like "0d". This should work fine to go ahead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 09:43:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11110#M2276</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-07-28T09:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adapter "0d" resolved as d</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11116#M2278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand that string and constants work but we should have the ability for users to select a fcp adapter from an sql input query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my mobile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 09:58:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11116#M2278</guid>
      <dc:creator>mmodi</dc:creator>
      <dc:date>2014-07-28T09:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adapter "0d" resolved as d</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11121#M2280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not a WFA error. WFA user inputs are in MVEL. and 0d is in MVEL translate to 0 double which is an invalid double type. If you give 1d it will transform as 1.0 . Similarly there are other MVEL literal types Float, like 4.5f , 104.39484B as BigDecimal or 10.4I for big Int &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read more here: &lt;A href="http://mvel.codehaus.org/MVEL+2.0+Literals" title="http://mvel.codehaus.org/MVEL+2.0+Literals" target="_blank"&gt;http://mvel.codehaus.org/MVEL+2.0+Literals&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this is expected behaviour. So if you want to proceed, use double quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 10:49:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11121#M2280</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-07-28T10:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adapter "0d" resolved as d</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11126#M2282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I disagree that this is not a WFA issue. Surely a string user input should always be interpreted as a literal string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some examples showing the messiness of string parameter interpretation. It doesn't behave the same as normal MVEL expressions:&lt;/P&gt;&lt;P&gt;"1" =&amp;gt; 1&lt;/P&gt;&lt;P&gt;"1"+"2" =&amp;gt; 12&lt;/P&gt;&lt;P&gt;1+2 =&amp;gt; 1+2&lt;/P&gt;&lt;P&gt;"1"+2 =&amp;gt; "1"+2&lt;/P&gt;&lt;P&gt;0d =&amp;gt; &amp;lt;error: For input string "d"&amp;gt;&lt;/P&gt;&lt;P&gt;"1"#"2" =&amp;gt; &amp;lt;error: java.lang.String cannot be cast to java.lang.Integer&amp;gt;&lt;/P&gt;&lt;P&gt;0d 0d =&amp;gt;. 0d 0d&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We shouldn't be expecting workflow end-users to understand MVEL, particularly MVEL that's not really MVEL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 14:02:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11126#M2282</guid>
      <dc:creator>ktim</dc:creator>
      <dc:date>2014-07-28T14:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adapter "0d" resolved as d</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11130#M2284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;Surely a string user input should always be interpreted as a literal string?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-------------&lt;/P&gt;&lt;P&gt;A string user input is not strictly a string unless provided in double/single quotes. Provide double/single quotes and they will all behave as strings. There input parameters at workflow are MVEL enabled inputs and not strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;There are some examples showing the messiness of string parameter interpretation. It doesn't behave the same as normal MVEL expressions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;----------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;Can you please post what is the correct MVEL behavior at each example you have posted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;@ &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;We shouldn't be expecting workflow end-users to understand MVEL, particularly MVEL that's not really MVEL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;WFA2.2&amp;nbsp; has added feature to provide MVEL help link at every designer item. Open any designer item and click (?) to find the link "&lt;SPAN style="text-decoration: underline; color: #000080;"&gt;Learn about MVEL&lt;/SPAN&gt;". &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;Not really MVEL? Can you elaborate why? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 03:51:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11130#M2284</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-07-29T03:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adapter "0d" resolved as d</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11135#M2285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@sinhaa, it's fine for strings inside the workflow designer to be MVEL - that's for developers. These are user input strings presented to end users. While we provide a "Learn about MVEL" link on each user input dialog, the attached help does not indicate that user input fields are MVEL enabled... it says "Several fields in OnCommand Workflow Automation (WFA) are enabled for MVFLEX Expression Language (MVEL). You can use MVEL syntaxes in these fields &lt;EM&gt;&lt;STRONG&gt;while designing workflows&lt;/STRONG&gt;&lt;/EM&gt;". (No mention of "when providing workflow parameters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what possible value could be derived from putting an expression into an user input field. Is anyone in the field using this? Do we really want every parameter query that could possibly include something that might be parsable as an MVEL expression to quote/escape that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples, comparing user input field translation with regular field translation:&lt;/P&gt;&lt;P&gt;1+2 : UserInput: 1+2&amp;nbsp;&amp;nbsp; RegularMVEL: 3&lt;/P&gt;&lt;P&gt;"1"+2: UserInput: "1"+2 RegularMVEL: 12&lt;/P&gt;&lt;P&gt;1+(int)"2": UserInput: 1+(int)"2"&amp;nbsp; RegularMVEL: 3&lt;/P&gt;&lt;P&gt;ab+c: UserInput: ab+c RegularMVEL: &amp;lt;error - Failed to resolve expression 'ab+c'&amp;gt;&lt;/P&gt;&lt;P&gt;"1"+"2" : UserInput: 12&amp;nbsp; RegularMVEL: 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess we have a solution to Modi's problem - add quotes to the query SQL output:&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; distinct CONCAT("'",fcp_adapter.name,"'") AS fcp_adapter&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cm_storage.fcp_adapter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cm_storage.cluster&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcp_adapter.status = 'online'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND cluster.name = '${PrimaryCluster}'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 07:19:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11135#M2285</guid>
      <dc:creator>ktim</dc:creator>
      <dc:date>2014-07-29T07:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adapter "0d" resolved as d</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11140#M2286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tim, this solutions works great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 07:26:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11140#M2286</guid>
      <dc:creator>mmodi</dc:creator>
      <dc:date>2014-07-29T07:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adapter "0d" resolved as d</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11145#M2287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You've raised some very good questions Tim. WFA team will discuss on those and try to resolve them. It could take some time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Modi for bringing up an important issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;WFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 10:56:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adapter-quot-0d-quot-resolved-as-d/m-p/11145#M2287</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-07-29T10:56:33Z</dc:date>
    </item>
  </channel>
</rss>

