<?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 to update one document to another</title><link>https://community.appian.com/discussions/f/user-interface/20780/interface-to-update-one-document-to-another</link><description>Hi All 
 I am trying to update one document with the details of another. I have a interface that populates with a document (record A) and a dropdown with a list of documents filtered on the company of Record A. 
 This stores the doucmentID of the document</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Interface to update one document to another</title><link>https://community.appian.com/thread/81231?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 05:08:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d4ac038f-e12d-4843-beb2-cf00b2358289</guid><dc:creator>pratiks0003</dc:creator><description>&lt;p&gt;hi david&lt;/p&gt;
&lt;p&gt;i understand what you want in interface .&lt;/p&gt;
&lt;p&gt;you need to call 1 rule input first for document_master for incoming document data a . like ri!document_master :store incoming data .&lt;/p&gt;
&lt;p&gt;you need to createlocal variable to store current details like local!new_document:type!documentmaster&lt;/p&gt;
&lt;p&gt;and at the last you&amp;nbsp; call a!save(ri!documentmater,local!newdocument)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interface to update one document to another</title><link>https://community.appian.com/thread/80967?ContentTypeID=1</link><pubDate>Thu, 15 Apr 2021 15:04:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:665f802d-75f8-45e4-be29-1455d5439c99</guid><dc:creator>zakarym0001</dc:creator><description>&lt;p&gt;Not sure I completely understand the question, but if you&amp;#39;re just trying to use all the values of objectA to create objectB you can use an expression rule to do it.&lt;/p&gt;
&lt;p&gt;local!objectB: &amp;#39;type!{urn:com:appian:types}OBJECT_B&amp;#39;(&lt;br /&gt; field1: ri!objectA.field1,&lt;br /&gt; field2: ri!objectA.field2,&lt;br /&gt; field3: ri!objectA.field3,&lt;br /&gt; field4: ri!objectA.field4,&lt;br /&gt; ...&lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;Call that expression rule in your process model and then save the resulting objectB with a Write to Datastore Entity&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>