<?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>Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/discussions/f/user-interface/33943/rule-input-setting-to-null-after-refresh-after-interface-gets-refreshed</link><description>There is an interface created which displays business elements in a tabular form, fetching details from a process report. The interface is expecting a rule input and filter the data based on rule input. 
 The issue I am facing is, once the interface page</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128965?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 17:46:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0407b185-3e30-45b9-950f-9d905c9e4a4c</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;On page refresh the RI gets reset to it&amp;#39;s original value, E.g. if you are calling an interface from another source, the supplied value from the parent will take in effect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128905?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 05:50:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a4527f6-1798-48e9-85d6-bde688ab4d50</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;&lt;a href="/members/amikb0002"&gt;amikb0002&lt;/a&gt;&amp;nbsp;I assume this clientName is a filter on the interface. You can use the below code as a sample to understand.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!clientName,
  rule!getDataFromProcessReport(
    clientName: local!clientName
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128887?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 04:14:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7aedcfcd-980c-4182-8712-17ab7bf43e4d</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Could you please share your complete updated code, it would help all of us understand the issue better and provide you an accurate answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128886?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 03:46:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55479598-6085-474e-b0a9-5bb1067a31d7</guid><dc:creator>amikb0002</dc:creator><description>&lt;p&gt;I have tried this code already but did not work.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="ui-provider ee bai azq baj bak bal bam ban bao bap baq bar bas bat bau bav baw bax bay baz bba bbb bbc bbd bbe bbf bbg bbh bbi bbj bbk bbl bbm bbn bbo" dir="ltr"&gt;a!localvariable( local!test: a!refeshVariable( value: ri!abc, refreshOnReferenceVarChange: false())&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128882?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2024 19:35:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e19a69cd-5cb0-416a-a9fd-6634ff6a5f77</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Rule inputs are used to exchange values between objects like Interface and Expression, interface and Process Model, etc. But they don&amp;#39;t have a memory of their own. You will have to use local variables for this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="/members/amikb0002"&gt;amikb0002&lt;/a&gt;&amp;nbsp;You can take a look at this documentation for better clarity -&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/23.4/Local_Variables.html"&gt;docs.appian.com/.../Local_Variables.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128881?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2024 18:16:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fce8bd51-d3f9-49be-a566-6c83c39d96b8</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The value of the rule input is controlled only by the parent interface passing the value.&lt;/p&gt;
&lt;p&gt;If you, for whatever reason, need/want to store a copy, assign it to a local variable using a!refreshVariables() to set refreshOnReferencedVariables to false.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128879?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2024 16:10:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13bca060-6128-4f59-a168-f1445d68243f</guid><dc:creator>amikb0002</dc:creator><description>&lt;p&gt;Here is the snippet.&lt;/p&gt;
&lt;p&gt;data: a!queryProcessAnalytics(&lt;br /&gt; report: cons!WLRD_PROCESS_REPORT_POINTER,&lt;br /&gt; contextProcessModels: cons!WLRD_PROCESS_MODEL_POINTER,&lt;br /&gt; query: a!query(&lt;br /&gt; filter: a!queryFilter(&lt;br /&gt; field: &amp;quot;c17&amp;quot;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: ri!clientName,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When page gets refreshed ( for now I am manually refreshing the page) , rule input becomes null and it throws below error.&lt;/p&gt;
&lt;p&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Interface Definition: Expression evaluation error at function a!gridField [line 43]: The a!queryFilter function has an invalid value for the &amp;quot;value&amp;quot; parameter. When the value of &amp;quot;operator&amp;quot; is &amp;quot;=&amp;quot; &amp;quot;value&amp;quot; must not be null or empty&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would like to keep the rule input value intact when it is passed at the first time so after page gets refreshed, I will use it for filter. Any suggestion? TIA&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note- I will handle null later in my code.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128878?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2024 09:07:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:82a7b5d7-1336-4541-be5f-8f8624cbd1a8</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;When data in a rule input is set to null, there is nothing you can do about it. Maybe you could create a copy of that rule input, but that might break the UX on the parent UI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128846?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:01:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d0d2040-c6da-4fa1-b382-3a98488f795d</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;This is difficult to debug as we don&amp;#39;t know what is happening, or how the refresh happens.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you add your code or better clarity?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128842?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 05:34:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8c2db63e-ef23-4f3e-92ad-10f278b90fd5</guid><dc:creator>amikb0002</dc:creator><description>&lt;p&gt;Hi Kiran-&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is a separate UI, from there, customer name is passed as parameter to this interface. This interface shows all the business elements which are used during execution of the process model. Also it shows the user input task&amp;nbsp;name with task link through which user can take action on user input task. User input task name changes as soon as workflow moves further.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The issue is, once the interface (based on process analytics) loads the data based on that customer which is being passed as a parameter to this interface from another interface and user task link is clicked, it opens up a user input form where user can take action, also the interface page should be refreshed as soon as the user input task is actioned to show the next user input task. currently I did not implement refresh feature. I manually refreshed the page but the customer name which is passed as rule input is getting set to null and the interface is showing no data due to this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rule Input setting to null after refresh after interface gets refreshed</title><link>https://community.appian.com/thread/128840?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 04:52:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b62f2803-de64-452f-bbd5-43e1ebdf7f2d</guid><dc:creator>Niranjan79</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/amikb0002"&gt;amikb0002&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&amp;#39;interface page gets refresh&amp;quot;, are you reloading the interface or how it is getting refreshed?&lt;/p&gt;
&lt;p&gt;and from where the rule input value is getting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>