<?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>interface with Doughnut chart not getting proper values when called from another interface</title><link>https://community.appian.com/discussions/f/user-interface/19957/interface-with-doughnut-chart-not-getting-proper-values-when-called-from-another-interface</link><description>Hi All, 
 i have 2 interfaces, where Interface 2 is called inside interface1, 
 the interface 2 works great when tested separate, but when called inside Interface1, it doesn&amp;#39;t refresh or show up proper values, what can be done to overcome this. 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: interface with Doughnut chart not getting proper values when called from another interface</title><link>https://community.appian.com/thread/78020?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 17:06:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:730f078d-b03a-46f8-bca3-b80be4ca90d2</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Yeah the load() is definitely unnecessary, but I&amp;#39;m also not sure that&amp;#39;s causing the issue because there aren&amp;#39;t any variables defined in that load function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: interface with Doughnut chart not getting proper values when called from another interface</title><link>https://community.appian.com/thread/78019?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 16:55:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1799d99c-e60b-4034-a6d3-78ca46e60087</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I&amp;#39;m willing to bet your use of load() in the child chart interface is causing your problems - remove that and re-test.&amp;nbsp; The interface should start with a!localVariables.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: interface with Doughnut chart not getting proper values when called from another interface</title><link>https://community.appian.com/thread/78017?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 13:54:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11d916ed-aebf-42ee-a187-417c6f1e62f1</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;My main question - are the refresh variables necessary? It seems like most of them are just updating on referenced variables changing, but this seems unnecessary to me. Also can you describe the purpose of this variable?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;local!dcselectedrole : a!refreshVariable(
  value:ri!dcselectedRole,
  refreshOnReferencedVarChange: true,
  refreshOnVarChange: {ri!dcselectedRole,ri!programid}
),&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You have the value here set to be ri!dcselectedRole, but it&amp;#39;s also updating when ri!dcselectedRole changes. This seems unnecessary to me, because you should be able to reference ri!dcselectedRole directly anywhere you need to use it.&lt;/p&gt;
&lt;p&gt;To be honest, I&amp;#39;m not certain that all the refresh variables are the issue, but I fear that the added complexity you have with all of them could be masking the issue here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>