<?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>Got error at trying to update a rule input</title><link>https://community.appian.com/discussions/f/general/28429/got-error-at-trying-to-update-a-rule-input</link><description>Zuuuuuuup people ! 
 
 So, I&amp;#39;m trying to create a screen to upload files,, between 2 interfaces. Since I need to send files to process model, I need to set rule input. But, When I try it, the following message is poped up: 
 
 
 
 Is it possible to send</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111369?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 16:30:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e9610531-8a67-4fe8-9b0d-744808b6704e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;A simple way to recreate the issue would be to have an ordinary field attempt to save its value into a literal string value:&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1681921861250v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Would we expect this saveInto to work?&amp;nbsp; No, because a literal string is not a valid save target, as indicated by the error message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111368?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 16:27:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7987640-f769-4941-9ace-e87b7b8f31e7</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="201255" url="~/discussions/f/general/28429/got-error-at-trying-to-update-a-rule-input/111367#111367"]Because I don&amp;#39;t need it filled from main process, it&amp;#39;s will passed only for process model. [/quote]
&lt;p&gt;References in Appian are largely two-directional.&amp;nbsp; You&amp;#39;re not just &amp;quot;passing down&amp;quot; a value - the saveInto passes the value back up (assuming any saves are attempted).&amp;nbsp; In this case, it passes the value up into the parent interface, where it was defined as &lt;em&gt;literally an empty set&lt;/em&gt;, which is not a valid target for saving.&amp;nbsp; To get the value passed out into a process instance, the value &lt;em&gt;&lt;strong&gt;absolutely must be&lt;/strong&gt;&lt;/em&gt; passed up into a Rule Input that&amp;#39;s ultimately mapped to a Process Variable (if on a start form), or a Data Input (&lt;em&gt;ac!&lt;/em&gt;) Variable (on a user input task).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111367?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 16:15:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b4b7d67-20c5-4886-b260-b7434ec9121a</guid><dc:creator>brunop0042</dc:creator><description>&lt;p&gt;Huuumm...&lt;/p&gt;
&lt;p&gt;My point of view comes from programming, like C# and Java. From an analogy, is that variable passed as a reference and need it exists in main process ? Because I don&amp;#39;t need it filled from main process, it&amp;#39;s will passed only for process model. So, why should I pass this variable ?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;It&amp;#39;s kinda tricky to understand how Appian deal with variables in this situation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111366?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 15:55:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:866279cf-1043-4287-a910-6a85394f226d</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;to add to what Sanchit said...&amp;nbsp; your issue, specifically, is that your sub-interface saves the uploaded documents into &amp;quot;ri!listaArquivos&amp;quot;, but from the parent, you don&amp;#39;t actually have that mapped anywhere valid/usable:&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1681919818659v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111362?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 15:44:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78432361-596d-4380-9473-d21477f51e93</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;You need to save the values from child interface in parent interface and then pass it to process.&lt;/p&gt;
&lt;p&gt;Here you are not saving listaArquivos in any variable, save it in a rule input and map it with the process variable in process model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111358?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 15:27:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1f466b9-b94f-4e26-902e-cfcae7b102ba</guid><dc:creator>brunop0042</dc:creator><description>&lt;p&gt;this is the context: I have a interface, that got links to other &amp;quot;pages&amp;quot;, where pages are expression rules that load content on this main page. Almost a menu and a page content that shows each menu content.&lt;/p&gt;
&lt;p&gt;In this page, where the message appears, is about upload files and, to do so, I created a process model that receives a parameter with all files attatched.&lt;/p&gt;
&lt;p&gt;Still in page upload, I created a rule input, that storage all files. This rule input is send to process model.&lt;/p&gt;
&lt;p&gt;We have a print bellow, but not sure if it will helps.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1681918139212v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111356?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 15:19:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d02d5305-33e3-46d7-be4b-3158e1b040fd</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;It looks like you are calling this interface rule in the interface - &amp;#39;ifb_resumo_proposta&amp;#39; .&lt;/p&gt;
&lt;p&gt;Can you please share the code where you are calling this in parent interface. Are you saving the value in a refresh variable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111352?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 14:53:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8149153-4d54-4ece-bf36-12b20cc79144</guid><dc:creator>brunop0042</dc:creator><description>&lt;p&gt;yep.&lt;/p&gt;
&lt;p&gt;But I got this message before send post to process model (I guess)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111349?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 14:50:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49c543b6-7cb1-4a65-a16a-b2db7cf4f5d4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Is this a start form?&amp;nbsp; Do you have the rule input mapped to a Process Variable in your Process Model configuration?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111347?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 14:46:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75dbd1f6-57db-42b1-b139-5b1bcfc585e7</guid><dc:creator>brunop0042</dc:creator><description>&lt;p&gt;yep, sure:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1681915657728v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got error at trying to update a rule input</title><link>https://community.appian.com/thread/111346?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 14:40:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c11092a9-c203-48a7-8a81-c23332a72bde</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;Can you please share the code snippet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>