<?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 get a values from a sub interface</title><link>https://community.appian.com/discussions/f/new-to-appian/23472/how-to-get-a-values-from-a-sub-interface</link><description>if i want to transport a value to a interface belongs to certain rule i can use rule(a:local!a), 
 but how can i vice versa get a variable value belongs to its interface?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to get a values from a sub interface</title><link>https://community.appian.com/thread/89930?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 09:21:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07e71b0f-e3e4-4459-a189-228bc762f275</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Let&amp;#39;s get a key concept clear (this may help you conceptual model you use going forwards):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;rule inputs - whether used in User Interfaces or Expression Rules - are references or pointers (in Java terms) to a location where a value is actually stored. That is: &lt;strong&gt;a rule input has no actual value of its own&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This means that if you want to &amp;quot;fetch&amp;quot; a value form a child component back into the parent component then that value has to exist either as a local! variable in the parent component OR it has to be a rule input to the parent component. Bear in mind that the latter is still a pointer and has to reference a variable somewhere. If your User Interface is the very top level and is being called from a process model then the actual variable is the &amp;quot;Activity Class&amp;quot; variable which is in effect private to the the User Input Task node. You can copy values from process variables to activity class variables and back again using the mapping in the User Input Task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get a values from a sub interface</title><link>https://community.appian.com/thread/89929?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 09:04:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9c34adf2-925d-4184-a7f7-1979cfdea2bc</guid><dc:creator>azharuddim218359</dc:creator><description>&lt;p&gt;Create a rule input in the child interface and while calling the child from the parent map the variable from the parent.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get a values from a sub interface</title><link>https://community.appian.com/thread/89926?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 06:13:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fdcd1cdc-e6c2-4090-8677-b76367219cc2</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;i mean how to extract a child interface rule input value?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get a values from a sub interface</title><link>https://community.appian.com/thread/89925?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 06:09:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:707d9728-d767-4d68-b1d4-6e788e75381e</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You cannot extract the local variables of a child interface. To do so, you need to save them in the rule inputs.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get a values from a sub interface</title><link>https://community.appian.com/thread/89924?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 05:59:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3141502d-4266-4042-b663-fb5709db0864</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;i mean i write in the parent interface only, it can extract child local!value. Is this mean i do not have to change any thing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get a values from a sub interface</title><link>https://community.appian.com/thread/89923?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 05:56:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79a622f1-6282-4d74-a72f-be88726730b5</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;The code you have written works both ways.&amp;nbsp;&lt;br /&gt;If you change the value of RI &amp;#39;a&amp;#39; in &amp;#39;rule&amp;#39; interface, then that will be reflected in the parent&amp;#39;s local!a variable. And vice versa.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>