<?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>Pass local variable array to another ruleInput</title><link>https://community.appian.com/discussions/f/user-interface/29970/pass-local-variable-array-to-another-ruleinput</link><description>Hello, I have stored different values of a grid in my local variable local!DatosLineas (read-only fields which result on querying another record + extra column which must be completed by the user). 
 I want to &amp;quot;write&amp;quot; some of the fields of my local variable</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Pass local variable array to another ruleInput</title><link>https://community.appian.com/thread/119910?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 05:56:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e97f207-bef4-4a12-85b0-cbca4a03c5b9</guid><dc:creator>tushark6475</dc:creator><description>&lt;p&gt;Here you just need to iterate through the local variable which stores the data from the record&amp;nbsp;&lt;span&gt;&amp;quot;CPF_Lineas_Pedido&amp;quot; and then after matching some fields, update the rule input of type (&amp;quot;CPF_Lineas_Recepciones&amp;quot;).&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can simply achieve this by running a forEach in the saveInto of the primary button.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>