<?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>Cascading drop downs</title><link>https://community.appian.com/discussions/f/new-to-appian/23247/cascading-drop-downs</link><description>Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!formLayout [line 7]:</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Cascading drop downs</title><link>https://community.appian.com/thread/89289?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 16:56:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2aa92b9d-c67f-491a-80f2-84c7758593fd</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Another way to put it would be, to get used to coding for basic functionality before trying more advanced functionality.&amp;nbsp; Someone who doesn&amp;#39;t actually understand the workings of basic functionality will run into many issues when trying to implement more complex things, based simply on not understaning what&amp;#39;s happening in their code - such as what we&amp;#39;re seeing in this example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascading drop downs</title><link>https://community.appian.com/thread/89253?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:05:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:da7afdf2-b885-4cc9-82e2-2b0c9bfd57ff</guid><dc:creator>Tanvir Sarkar</dc:creator><description>&lt;p&gt;I would suggest to make your basic concepts clear before achieving anything. The code you have posted its wrong in the very basic. you cant declare ri!ri!subCategory the way you&amp;#39;ve done in the middle of the code. If you aren&amp;#39;t familiar with expresion mode coding, try the drag &amp;amp; drop design mode interface design. also the above suggestions are useful to clear your basic concepts first &amp;amp; then implement something&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascading drop downs</title><link>https://community.appian.com/thread/89239?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 02:47:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a5f9834c-ce7d-4593-b196-fe53b7020635</guid><dc:creator>praveen1989</dc:creator><description>&lt;p&gt;I would like to achieve cascading drop down values&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascading drop downs</title><link>https://community.appian.com/thread/89235?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 21:17:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b89c7ac9-5b93-4275-bd4e-baa9c2606a19</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;I believe Stefan&amp;#39;s suggestion is the right one from the code perspective. One other thing to point out - you define rule inputs entirely separately from expressions via the inputs pane on the right hand side. This then lets you expose these rule inputs outside of your rule to other objects as necessary.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d suggest reading this section in particular to understand rule inputs better:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/SAIL_Tutorial.html#create-rule-inputs"&gt;docs.appian.com/.../SAIL_Tutorial.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascading drop downs</title><link>https://community.appian.com/thread/89217?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 11:11:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:df49cc32-c149-4a4a-9a74-c3d59e0dcd6d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;As I have no idea what you want to achieve.&lt;/p&gt;
&lt;p&gt;Please check the linked documentation. Also consider to attend the online trainings to better understand how Appian works.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.4/Expressions.html"&gt;https://docs.appian.com/suite/help/21.4/Expressions.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.4/SAIL_Tutorial.html#add-local-variables"&gt;docs.appian.com/.../SAIL_Tutorial.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Maybe something in line with this might get you started:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!availableSubCategories: choose(
    if(isnull(ri!category),1,ri!category),
    {&amp;quot;Laptop Issue&amp;quot;,&amp;quot;Internet Issue&amp;quot;},
    {&amp;quot;Cabs Issue&amp;quot;,&amp;quot;AC Issue&amp;quot;},
    {&amp;quot;Salary Issue&amp;quot;,&amp;quot;Project Allocation Issue&amp;quot;},
    {&amp;quot;Finance Planning&amp;quot;,&amp;quot;Fund Raising&amp;quot;}
  ),
  ....
  &amp;lt;YOUR CODE&amp;gt;
  a!dropdownFieldByIndex(
                  label: &amp;quot;Sub Category&amp;quot;,
                  labelPosition: &amp;quot;ABOVE&amp;quot;,
                  placeholder: &amp;quot;--- Select a Value ---&amp;quot;,
                  choiceLabels:local!availableSubCategories,
                  value: ri!subCategory,
                  saveInto:{ri!subCategory},
                  disabled: isnull(ri!category),
                  searchDisplay: &amp;quot;AUTO&amp;quot;,
                  validations: {}
                )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Be aware that this is mostly guesswork!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascading drop downs</title><link>https://community.appian.com/thread/89216?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 11:01:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a641e59e-821f-42b2-bc00-b1deccaf8983</guid><dc:creator>praveen1989</dc:creator><description>&lt;p&gt;Can you please provide the resolution for this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascading drop downs</title><link>https://community.appian.com/thread/89215?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 10:58:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:70587464-a05f-4bf4-97bf-e6c1abce07dd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;It seems like you try to assign a value to a rule input. It does not work like this in Appian.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;   ri!subCategory: choose(
      if(isnull(ri!category),1,ri!category),
      {&amp;quot;Laptop Issue&amp;quot;,&amp;quot;Internet Issue&amp;quot;},
      {&amp;quot;Cabs Issue&amp;quot;,&amp;quot;AC Issue&amp;quot;},
      {&amp;quot;Salary Issue&amp;quot;,&amp;quot;Project Allocation Issue&amp;quot;},
      {&amp;quot;Finance Planning&amp;quot;,&amp;quot;Fund Raising&amp;quot;}
    ),
    
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.4/Local_Variables.html"&gt;docs.appian.com/.../Local_Variables.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascading drop downs</title><link>https://community.appian.com/thread/89214?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 10:53:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32f785ef-8160-4849-a098-054b9c807cce</guid><dc:creator>praveen1989</dc:creator><description>&lt;p&gt;What is wrong you found in line 42?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascading drop downs</title><link>https://community.appian.com/thread/89207?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 07:25:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:80d45493-fa4b-45e9-a89a-8833e92ea401</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Line 42 is wrong. What is the intention here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>