<?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>Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/discussions/f/data/39683/help-with-record-type-relationship-error-on-save</link><description>Hi everyone, 
 I’m working on my first Appian build and ran into an issue I haven’t been able to resolve. My save logic seems to save correctly to ri!record , but I’m getting an error related to the record type relationships. 
 
 Could not display interface</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151398?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 11:38:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f629f264-9769-45ce-b5ca-39c3e2f24710</guid><dc:creator>David Moudry</dc:creator><description>&lt;p&gt;Thanks Shubham.&amp;nbsp; &lt;span&gt;&amp;nbsp;I&amp;rsquo;m just a bit confused about the dot notation.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151397?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 11:38:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cb502868-ff3e-488a-a1e3-b18351b72a3f</guid><dc:creator>David Moudry</dc:creator><description>&lt;p&gt;Thanks, Stefan. I think I need to spend more time reviewing the documentation. I&amp;rsquo;m just a bit confused about the dot notation and cant keep spinning my wheels.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151383?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 06:26:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0c817eab-a985-4bc6-95f6-4d323f23df61</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You are still using dot-notation for the assigned values. I assume this local is of a record type.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151382?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 21:50:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:68418673-687c-492d-81ea-d80dca0030ab</guid><dc:creator>David Moudry</dc:creator><description>&lt;p&gt;Yikes, it&amp;#39;s been a log day :)&amp;nbsp; &amp;nbsp;I just cant seem to get past this:&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1757368211892v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151381?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 20:50:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9396c46b-f5da-4dfa-bcac-7637dede3819</guid><dc:creator>David Moudry</dc:creator><description>&lt;p&gt;I&amp;#39;m giving this a try now. Thank you so much for your help&amp;mdash;I realize I&amp;#39;ve been at this for far too long and probably made it more complicated than it needed to be.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151380?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 20:11:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3f21ec86-1ecb-4fcd-871c-068818dd0a8a</guid><dc:creator>Jesse Knight</dc:creator><description>&lt;p&gt;The record type behind uc2335DisclosureLog is what you&amp;#39;ll want (edit - also added the correct way to use &lt;code&gt;a!update()&lt;/code&gt;):&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!save(
    ri!record[UC2335 TIN Sweep.uc2335DisclosureLog],
    a!update(
        a!defaultValue(ri!record[UC2335 TIN Sweep.uc2335DisclosureLog], recordType!UC2335 Disclosure Log()),
        {
            UC2335 Disclosure Log.disclosureText,
            UC2335 Disclosure Log.priceImpactIndicator,
        },
        {
             local!draftDisclosures.disclosureText,
             local!draftDisclosures.priceImpactIndicator
        }
    )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151379?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 20:08:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5fb0f121-7d13-4177-8c58-e927094304ad</guid><dc:creator>David Moudry</dc:creator><description>&lt;p&gt;This was my latest attempt:&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1757362086056v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151377?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 18:51:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:defb37f7-54e8-4923-98c0-6557f7f2e487</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;span&gt;You&amp;rsquo;re updating with raw field names instead of the record type field references.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Use recordType!UC2335TinaSweep_uc2335DisclosureLog.fields.&amp;lt;fieldName&amp;gt; in a!update().&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151376?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 18:42:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:523e3d10-06a1-4cf4-b5c7-7ea138ca30e6</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Probably yes, but you might have to use the record type constructor&lt;/p&gt;
&lt;p&gt;recordType!YourRecordType(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; field: value&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151375?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 18:27:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6276deae-1eb2-46d1-acb2-93bc3c9be89d</guid><dc:creator>Jesse Knight</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve seen this before with folks coming up to speed on records, even if they&amp;#39;re veteran Appian developers. The &amp;#39;base&amp;#39; record you start your referencing from might change depending on context. For a &lt;code&gt;a!save(ri!record{...}, &amp;lt;value&amp;gt;)&lt;/code&gt; , your &amp;#39;base&amp;#39; record will always be the record type of the rule input rather than the record type of the relationship.&lt;/p&gt;
&lt;p&gt;For example, say I have a rule input of recordType!Transaction, with a related record &amp;#39;account&amp;#39;, and I want to update &amp;#39;amount&amp;#39; in the account record, then I would do &lt;code&gt;a!save(ri!record[recordType!Transaction.account.amount], &amp;lt;value&amp;gt;)&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Where this can get really confusing for folks new to records - say I wanted&amp;nbsp;to create a &amp;quot;new&amp;quot; record in the related record, using the structure above I would do something like:&lt;br /&gt;&lt;code&gt;a!save(ri!record[recordType!Transaction.account], recordType!Account(&amp;lt;keys/values))&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If you give more context, we can help with the specifics. Cheers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151374?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 18:26:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e42a8820-5167-4762-89e7-5f0b0ebb4c72</guid><dc:creator>David Moudry</dc:creator><description>&lt;p&gt;Could I do this when saving a grid?: &lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1757355933819v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151373?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 18:14:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6f2a1aab-98ab-4cef-ba53-eea0af83da38</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This is the documentation, explaining how to reference records.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.appian.com/suite/help/25.3/reference-records.html"&gt;https://docs.appian.com/suite/help/25.3/reference-records.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with Record Type Relationship Error on Save</title><link>https://community.appian.com/thread/151372?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 18:03:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8d693488-9c19-481f-8b83-3eeddcc5e1d9</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;You first try this common fix&amp;nbsp;with this type of&amp;nbsp;generic issue,&amp;nbsp;Change ri!record.fieldName or ri!record[fieldName] to ri!record[recordType!YourRecord.fields.fieldName] -&amp;gt; you must use record type field references.​​​&lt;/p&gt;
&lt;p&gt;Still&amp;nbsp;could you share code snippet for better understanding if above basic change will not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>