<?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 Help with user input with special characters in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Help-with-user-input-with-special-characters/m-p/119343#M21310</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to use a query with user input, and the user input contains a special character '\' (for a domain authentication style, ie: Netapp\Roi).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When testing the query, it runs well. when I preview the whole workflow, it fails with the error:"Failed to resolve expression 'PS\Administrator'.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2016-05-17_190331.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/5352i8EFF37AF5CA927E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2016-05-17_190331.png" alt="2016-05-17_190331.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the query code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;select
    quota.quota_policy,
    quota.cluster,
    quota.qtree,
    quota.quota_target,
    quota.quota_volume,
    quota.vserver_name,
    quota.quota_type,
    quota.disk_limit/1024,
    quota.file_limit,
    quota.soft_disk_limit/1024,
    quota.soft_file_limit,
    quota.threshold/1024,
    quota.user_name
from
    cm_storage_quota.quota_rule as quota
where
    quota.quota_type='user'
    AND quota.cluster='${clusterName}'
    AND quota.vserver_name='${vserverName}'
    AND quota.quota_target = '${userName}' &lt;/PRE&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roi.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 20:55:48 GMT</pubDate>
    <dc:creator>RoiBeci</dc:creator>
    <dc:date>2025-06-04T20:55:48Z</dc:date>
    <item>
      <title>Help with user input with special characters</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Help-with-user-input-with-special-characters/m-p/119343#M21310</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to use a query with user input, and the user input contains a special character '\' (for a domain authentication style, ie: Netapp\Roi).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When testing the query, it runs well. when I preview the whole workflow, it fails with the error:"Failed to resolve expression 'PS\Administrator'.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2016-05-17_190331.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/5352i8EFF37AF5CA927E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2016-05-17_190331.png" alt="2016-05-17_190331.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the query code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;select
    quota.quota_policy,
    quota.cluster,
    quota.qtree,
    quota.quota_target,
    quota.quota_volume,
    quota.vserver_name,
    quota.quota_type,
    quota.disk_limit/1024,
    quota.file_limit,
    quota.soft_disk_limit/1024,
    quota.soft_file_limit,
    quota.threshold/1024,
    quota.user_name
from
    cm_storage_quota.quota_rule as quota
where
    quota.quota_type='user'
    AND quota.cluster='${clusterName}'
    AND quota.vserver_name='${vserverName}'
    AND quota.quota_target = '${userName}' &lt;/PRE&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roi.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 20:55:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Help-with-user-input-with-special-characters/m-p/119343#M21310</guid>
      <dc:creator>RoiBeci</dc:creator>
      <dc:date>2025-06-04T20:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with user input with special characters</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Help-with-user-input-with-special-characters/m-p/119382#M21321</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/28284"&gt;@RoiBeci﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This error hasn't come because of User input having a '\'. You need to check your workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For for Testing an SQL query at the filter, or User-Input of type query: you need to provide '\\' like 'NETAPP\\sinhaa' if your row Data has value like NETAPP\sinhaa. This is SQL requirement and not WFA &amp;nbsp;as '\' is a special character for SQL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/5353iE383E0F203769EAE/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="WFA_User-Input1.png" title="WFA_User-Input1.png" /&gt;&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;For User-Input at workflow execution/preview, you can just use 'NETAPP\sinhaa' and it will give you the right result.&amp;nbsp;&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;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/5354i9D0A4987620E2BCD/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="WFA_User-Input2.png" title="WFA_User-Input2.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&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;</description>
      <pubDate>Wed, 18 May 2016 11:20:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Help-with-user-input-with-special-characters/m-p/119382#M21321</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-05-18T11:20:29Z</dc:date>
    </item>
  </channel>
</rss>

