<?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>All selected values must be present in the choiceValues array, but value was true and choiceValues was ...</title><link>https://community.appian.com/discussions/f/general/19825/all-selected-values-must-be-present-in-the-choicevalues-array-but-value-was-true-and-choicevalues-was</link><description>Hello again Appian community, 
 
 I am trying to figure out why or how I am getting this error 
 this is my code: 
 
 
 it is working for all of my other drop-downs except this one the only difference is that I am using the for each in the drop-down,</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: All selected values must be present in the choiceValues array, but value was true and choiceValues was ...</title><link>https://community.appian.com/thread/77521?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 18:50:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:956aee17-014e-42a3-a0e3-b139ba0135c4</guid><dc:creator>kevinr0001</dc:creator><description>&lt;p&gt;thank you!!!&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f926_2D00_1f3fc.svg" title="Face palm tone2"&gt;&amp;#x1f926;&amp;#x1f3fc;&lt;/span&gt;, I was using the wrong variable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;wow that took me way to long, thank you for helping out&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: All selected values must be present in the choiceValues array, but value was true and choiceValues was ...</title><link>https://community.appian.com/thread/77520?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 18:34:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51a39ee0-2c94-46fa-a087-7cd4cbee06d8</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Dropdown can be tricky. As I said, type and value must match. What is the value of&amp;nbsp;ri!Symbol.icon?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: All selected values must be present in the choiceValues array, but value was true and choiceValues was ...</title><link>https://community.appian.com/thread/77519?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 18:29:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:97a265d5-c33f-4cb6-82ee-742ca39c31af</guid><dc:creator>kevinr0001</dc:creator><description>&lt;p&gt;thanks for the reply&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f600.svg" title="Grinning"&gt;&amp;#x1f600;&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;sadly&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f641.svg" title="Slight frown"&gt;&amp;#x1f641;&lt;/span&gt; that did not work,&lt;/p&gt;
&lt;p&gt;I do not understand the error message, why is it saying that the value is true?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thank you for your time.&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: All selected values must be present in the choiceValues array, but value was true and choiceValues was ...</title><link>https://community.appian.com/thread/77518?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 18:09:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eb23f489-e376-4d1e-b103-54fc9ce2995b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The values in choiceValues and value must match in type and value. As value is a string, I think wrapping the foreach in line 12 into a touniformstring() should help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>