<?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>what exactly rp!id contains?</title><link>https://community.appian.com/discussions/f/data/17745/what-exactly-rp-id-contains</link><description>Hi, 
 We are trying to create Expression based Record by getting the date from View. 
 Written expression rule to return todatasubset with different identifiers mapped other than Primary id. 
 primary key for the resultant cdt is different from the todatasubset</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: what exactly rp!id contains?</title><link>https://community.appian.com/thread/69898?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2019 19:56:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9d07468-20ca-401d-b513-6a0f9d063efc</guid><dc:creator>ramp</dc:creator><description>&lt;p&gt;Thaks for the prompt response. now got the clarity.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what exactly rp!id contains?</title><link>https://community.appian.com/thread/69879?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2019 01:14:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f38d819-28b8-432c-b787-062b941ddada</guid><dc:creator>TJ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you use a!datasubset() rather than fn!todatasubset. The new function provides you ability to specifically define your identifiers i.e. rp!id&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Trust this would solve your query.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what exactly rp!id contains?</title><link>https://community.appian.com/thread/69876?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 21:01:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e53f9dd-ae8b-46d5-96b5-53f8b26bea5f</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;rp!id will return the value of the identifier for the current record. For example, suppose you have an expression-backed record that contains a list of cases, with fields called caseId and caseNumber. If I choose caseNumber as the data in the identifiers property, that is what will be used as rp!id, even if caseId is the primary key of your source CDT.&lt;/p&gt;
&lt;p&gt;That being said...is there a reason that you don&amp;#39;t just make them the same thing? It seems likely that it will lead to confusion if you use a different field :)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>