<?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>Reuse of an interface in process model with condition</title><link>https://community.appian.com/discussions/f/user-interface/19251/reuse-of-an-interface-in-process-model-with-condition</link><description>Hi, 
 I have an interface which has to be used in different forms and a process model. It has two buttons &amp;#39;Yes&amp;#39; and &amp;#39;No&amp;#39;. 
 But, in the process model, i need to pass the interface only with &amp;#39;No&amp;#39; button. How can I achieve that. 
 Kindly suggest. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Reuse of an interface in process model with condition</title><link>https://community.appian.com/thread/75371?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2020 14:44:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:032cc84c-6d30-4b67-9d2c-f6bbef836614</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Shobhit &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Firstly, it seems a bit strange that you can only present a User with a single button labelled &amp;#39;No&amp;#39; (unless&amp;nbsp;there are other&amp;nbsp;buttons on the interface that you haven&amp;#39;t mentioned?) If they can only respond &amp;#39;No&amp;#39; then what value is the User playing in the process?&lt;/p&gt;
&lt;p&gt;Secondly, to address your specific question: you an conditionally show/hide ANY interface component with the &amp;#39;showWhen&amp;#39; boolean property. So you could add an additional rule input to your User Interface and set this to &amp;#39;true&amp;#39; for your current implementation, and map it to the &amp;#39;Yes&amp;#39; button. For the specific case where you need the &amp;#39;Yes&amp;#39; button hidden simply pass in &amp;#39;false&amp;#39;.&lt;/p&gt;
&lt;p&gt;I hope that helps&lt;/p&gt;
&lt;p&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></channel></rss>