<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Saving null when selecting placeholder on dropdown</title><link>https://community.appian.com/discussions/f/general/20416/saving-null-when-selecting-placeholder-on-dropdown</link><description>Let&amp;#39;s say I have the following query where the data is being filter based on siteIds 
 
 
 Now, I&amp;#39;m saving local!selectedSite using a dropdown menu 
 
 the value of local!selectedSite is null at the start so everything is queried, as expected. If I select</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Saving null when selecting placeholder on dropdown</title><link>https://community.appian.com/thread/79602?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 20:55:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dc2385ca-7287-4e67-b0ff-34e6609bbe18</guid><dc:creator>Jose H.</dc:creator><description>&lt;p&gt;What you say would make sense with the value being {null}. However, I checked and the value was just null. I have a solution for it which is to check for null before filtering the query but I just find it to be a strange behavior.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saving null when selecting placeholder on dropdown</title><link>https://community.appian.com/thread/79596?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 20:38:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6636ca6-f157-4ee8-b460-0d295171c03d</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="26683" url="~/discussions/f/general/20416/saving-null-when-selecting-placeholder-on-dropdown"]But when I select a value and then I select the placeholder, the query does not return any values. [/quote]
&lt;p&gt;What are you &lt;em&gt;expecting&lt;/em&gt; to happen, and why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saving null when selecting placeholder on dropdown</title><link>https://community.appian.com/thread/79595?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 20:37:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53a6d5c8-332c-4307-afc2-26079adf4de7</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;Given that siteIds expects an integer array, there&amp;#39;s a chance your query rule is trying to filter with a value of {null} which is different than just null or {}&lt;/p&gt;
&lt;p&gt;I recommend making sure you&amp;#39;re using a!localVariables so you can view the value of local!selectedSite in the interface designer variables pane.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>