<?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>How to Pass Parameters from Parent to Child Interface in a Tab-Based Navigation</title><link>https://community.appian.com/discussions/f/new-to-appian/38026/how-to-pass-parameters-from-parent-to-child-interface-in-a-tab-based-navigation</link><description>Hi, 
 I have a Child Interface with a Submit button and a File Upload functionality. It has two Rule Inputs: 
 
 cancelInput (Type: Boolean) 
 uploadedFile (Type: Document) 
 
 Now, I’m using a Parent Interface that has a Tab-based Navigation layout,</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to Pass Parameters from Parent to Child Interface in a Tab-Based Navigation</title><link>https://community.appian.com/thread/143069?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 07:59:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aee7db1f-2b98-4af2-81a0-bbc8eeb3f37f</guid><dc:creator>naveenkumar11800</dc:creator><description>&lt;p&gt;hello &lt;a href="/members/gayatria0439"&gt;gayatria0439&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for sharing your insights! That&amp;rsquo;s a great explanation of how to use rule inputs and local variables to handle parameter passing. Your example is really helpful, especially for anyone trying to figure out how to structure their parent-child interface relationships.&lt;/p&gt;
&lt;p&gt;I agree that defining rule inputs with matching types in the parent and child interfaces is a clean approach. Using local variables to manage intermediate values also adds flexibility.&lt;/p&gt;
&lt;p&gt;Out of curiosity, have you come across any specific challenges when managing such setups in more complex scenarios, like nested tab-based interfaces or when multiple child interfaces need to sync with the same parent variable?&lt;br /&gt; It would be great to hear how you&amp;rsquo;ve handled those situations!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Pass Parameters from Parent to Child Interface in a Tab-Based Navigation</title><link>https://community.appian.com/thread/143064?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 07:14:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b9acb61-a5b8-406e-a344-f7844f74d55f</guid><dc:creator>gayatria0439</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/naveenkumarr7411"&gt;naveenkumar11800&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;To effectively pass the parameters from the Parent Interface to the Child Interface we need to create the rule inputs with the same type, generally When we call an interface within another interface, we need to pass the necessary parameters to handle actions or transfer values between interfaces. We can use either local variables or rule inputs, depending on the requirements, Rule inputs are like&amp;nbsp;global variables and it can be managed through the process model. Or if you need to use the values within the interface itself, you can pass local variables.&lt;/p&gt;
&lt;p&gt;Example of passing variables:&lt;br /&gt;&lt;strong&gt;rule!Interface&lt;/strong&gt;(&lt;span style="color:#808080;"&gt;cancelInput&lt;/span&gt;: ri!cancelInput/local!cancelInput,&amp;nbsp;&lt;span style="color:#808080;"&gt;uploadFile&lt;/span&gt;: ri!uploadFile/local!uploadFile)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Pass Parameters from Parent to Child Interface in a Tab-Based Navigation</title><link>https://community.appian.com/thread/143037?ContentTypeID=1</link><pubDate>Sat, 23 Nov 2024 19:31:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ba4bf79a-32d9-474b-bc23-3769a36bb2e9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I think the best way to do this is to create two rule inputs with similar names on the parent interface and pass these to the child interface.&lt;/p&gt;
&lt;p&gt;Maybe this blog post helps you to understand how to work with data in interfaces:&amp;nbsp;&lt;a href="https://appian.rocks/2022/07/05/data-in-interfaces/"&gt;https://appian.rocks/2022/07/05/data-in-interfaces/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>