<?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>Value is not refreshing after using refresh variable</title><link>https://community.appian.com/discussions/f/general/35222/value-is-not-refreshing-after-using-refresh-variable</link><description>I am getting this error while i used refresh variable to refresh the value based in the variable change. Expression evaluation error [evaluation ID = c66ea:0543a] in rule &amp;#39;mtc_griditemtotal&amp;#39; (called by rule &amp;#39;mtc_formworkorderapproval&amp;#39;) at function a!refreshVariable</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Value is not refreshing after using refresh variable</title><link>https://community.appian.com/thread/136825?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 08:37:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3f1439c5-adf4-4901-90d2-47adf0a668b2</guid><dc:creator>Ankush Sharma</dc:creator><description>&lt;p&gt;Yeah , got it Thanks &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt; &lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp; for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Value is not refreshing after using refresh variable</title><link>https://community.appian.com/thread/136824?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 08:30:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:961b099f-243c-4715-9fc5-5d2047c5f183</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I do not really understand the intention here, but you can make the value parameter AND the refreshOnVarChange parameter conditional. And that should give you the exact same logic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Value is not refreshing after using refresh variable</title><link>https://community.appian.com/thread/136822?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 08:26:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b818f92d-6318-411c-b9a2-18986b03eafc</guid><dc:creator>Ankush Sharma</dc:creator><description>&lt;p&gt;So we can not put refreshVariable into if right ? but i have an requirement to wrap it otherwise it is affecting the flow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Value is not refreshing after using refresh variable</title><link>https://community.appian.com/thread/136820?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 08:15:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2b28b93e-b89d-42b4-96e5-214bac1b05d5</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I think the issue is, that you wrapped a!refreshVariable() into if(). Why not move the if() to the value parameter?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>