<?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>a!queryRecordType. Parameter &amp;quot;fields&amp;quot;</title><link>https://community.appian.com/discussions/f/data/38765/a-queryrecordtype-parameter-fields</link><description>I have the local variable called &amp;quot;encargo&amp;quot; to get a single record from a RecordType filtering by an id key. I want to get all the fields of the record type. Is there any way to tell it to the &amp;quot;fields&amp;quot; parameter or have I to list all of them instead?:</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: a!queryRecordType. Parameter "fields"</title><link>https://community.appian.com/thread/146508?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 17:54:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78784e9d-4726-44e0-a86a-3f5861727651</guid><dc:creator>varung120549</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/danielg424213"&gt;danielg424213&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;br /&gt;In a!queryRecordType, fields parameter is used to get specific record fields with PK field when there are only particular fields needed, if you leave it&amp;nbsp;as nul() or {},&amp;nbsp;&amp;nbsp;it will automatically return all the fields.&lt;br /&gt;&lt;br /&gt;Also most important thing to consider is when you are using relationships in query, it will help in getting specific fields from related record.&lt;br /&gt;&lt;br /&gt;Hope this helps you!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!queryRecordType. Parameter "fields"</title><link>https://community.appian.com/thread/146507?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 17:48:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:df8b9d9a-35fc-400b-bbce-7a96966d7742</guid><dc:creator>Harshmodi</dc:creator><description>&lt;p&gt;Hi &lt;b&gt;&lt;a href="/members/danielg424213"&gt;danielg424213&lt;/a&gt;&amp;nbsp;,&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;If you want to retrieve all record fields, simply leave the &lt;strong&gt;fields&lt;/strong&gt; parameter empty. By default, it will return all available record fields.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!queryRecordType. Parameter "fields"</title><link>https://community.appian.com/thread/146506?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 17:48:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0c9fdcb2-c1f9-4a27-aae0-7d60bb8319d4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;AFAIK when no &amp;quot;fields&amp;quot; parameter is provided, the query automatically returns all fields that directly belong to that record type.&amp;nbsp; I just double-checked in my 25.1 environment and this behavior seems accurate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>