<?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>Validation of a constant in Dropdown</title><link>https://community.appian.com/discussions/f/new-to-appian/23367/validation-of-a-constant-in-dropdown</link><description>I have a dropdown in which the values are called from a constant. Will it be possible to customize which items will only come out? 
 Let&amp;#39;s say the status of the request is cancelled, then I should only cancelled in the dropdown. Then if the status is</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Validation of a constant in Dropdown</title><link>https://community.appian.com/thread/89843?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 01:40:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6afb02f4-f1f2-45e9-a244-f9aa2e60e479</guid><dc:creator>saarcenal</dc:creator><description>&lt;p&gt;This worked for me. Thanks! I was fixated in using 1 constant only&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation of a constant in Dropdown</title><link>https://community.appian.com/thread/89764?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 10:41:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aec2296d-8128-4764-a043-5185dbbf226c</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Got it.&lt;/p&gt;
&lt;p&gt;Our approach to status value is, that we have an individual constant for each value. Then we can reference each value clearly and also use it for comparisons.&lt;/p&gt;
&lt;p&gt;To get a list of all values, we then create an expression which returns a list of all the constants.&lt;/p&gt;
&lt;p&gt;In a task form, you could then just list the values you need for that form.&lt;/p&gt;
&lt;p&gt;And if you use a reusable component, you could create a local holding the values matching the current status. A decision table can do that as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation of a constant in Dropdown</title><link>https://community.appian.com/thread/89763?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 10:32:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3607bc57-93e8-4119-bf62-f8bf2c187a7d</guid><dc:creator>saarcenal</dc:creator><description>&lt;p&gt;I think I worded it wrongly. What I&amp;#39;m trying to say is the dropdown should differ depending on the status.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Example, if status is currently closed, then I should only see closed and cancelled.&lt;/p&gt;
&lt;p&gt;Or if the status is open, then I should only see revising and reviewing on the dropdown.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation of a constant in Dropdown</title><link>https://community.appian.com/thread/89762?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 10:22:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:433fec11-a666-4e66-91c0-eabeb1ad8fd4</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Wouldn&amp;#39;t it be easier to use a textField in readonly to display that value? This is what I am doing. DropDown for modification and a textField for display. Of course, you can also use a richTextField etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>