<?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>Displaying interfaces</title><link>https://community.appian.com/discussions/f/user-interface/17120/displaying-interfaces</link><description>Hi All, 
 I have a requirement in my project, 
 I have 16 diffrent interfaces, which need to be displayed based on condition, 
 ex: if ruleinput(id) value is 1 ,then 1st interface should get displayed. 
 if id=2, 2nd interface should get displayed. like</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Displaying interfaces</title><link>https://community.appian.com/thread/67504?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 15:33:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:544617df-2966-4242-8f01-43bcc181da45</guid><dc:creator>Krishna Chaitanya Mallavarapu</dc:creator><description>&lt;p&gt;1) you can use&amp;nbsp;&lt;span&gt;choose() like&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; choose(ri!id, rule!interface1, rule!interface2)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2)you can use&amp;nbsp;index() like&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; index(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rule!interface1,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rule!interface2,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rule!interface3&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ri!id,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;null&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3)&amp;nbsp;You can use a decision rule&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying interfaces</title><link>https://community.appian.com/thread/67502?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 15:17:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3619d3a2-eac7-49e6-8b5b-498408e6986d</guid><dc:creator>Mauricio G.</dc:creator><description>&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;p&gt;You can use a decision table to check the different values that you need to evaluate and return the id of the interface that you are going to use.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying interfaces</title><link>https://community.appian.com/thread/67500?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 14:55:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b6f72206-2dd0-4a40-8010-0bf5b49a9f32</guid><dc:creator>RajHasti</dc:creator><description>&lt;p&gt;You can use decision rule also to achieve. Input to the decision rule should be id...and configure the output variable of the decision to use the interface name&lt;/p&gt;
&lt;p&gt;Using decision requires some configuration.Please look over decision rule configuration&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying interfaces</title><link>https://community.appian.com/thread/67499?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 14:05:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:750ea570-1208-4a33-b96c-6857ccc3904c</guid><dc:creator>Jayapriya Muthu</dc:creator><description>&lt;p&gt;Divya, You can use choose() function to achieve this. eg. choose(ri!id, rule!interface1, rule!interface2,...)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/19.2/fnc_logical_choose.html"&gt;docs.appian.com/.../fnc_logical_choose.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>