<?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 refresh value of local variable</title><link>https://community.appian.com/discussions/f/user-interface/28036/how-to-refresh-value-of-local-variable</link><description>Hi, 
 I have defined a local variable inside interface in which i am updating value of rule input like 
 local!item: ri!data, 
 Now I created one expression rule inside that i am writing multiple validations, in this expression rule inside rule input</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to refresh value of local variable</title><link>https://community.appian.com/thread/109136?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2023 19:21:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b4a7d570-4b09-4417-87b1-fac5b31f546b</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;Are you using&amp;nbsp;localvariables() ?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It lets you define one or more local variables for use within an expression. When used within an interface, the value of each variable can be refreshed under a variety of conditions, configured using a!refreshVariable().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The local variables inside localvariables() are automatically updated when their dependencies change.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh value of local variable</title><link>https://community.appian.com/thread/109134?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2023 18:35:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6132ec8-3c75-4961-89d4-7a6e8d52b2b3</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Are you able to provide your sale and expression code for the logic that you mentioned&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>