<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Relationship table in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100242#M757168</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which table holds the relationship data between problem and change and what is the mechanism used to insert data in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2016 07:29:08 GMT</pubDate>
    <dc:creator>avinash21</dc:creator>
    <dc:date>2016-11-16T07:29:08Z</dc:date>
    <item>
      <title>Relationship table</title>
      <link>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100242#M757168</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which table holds the relationship data between problem and change and what is the mechanism used to insert data in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 07:29:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100242#M757168</guid>
      <dc:creator>avinash21</dc:creator>
      <dc:date>2016-11-16T07:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship table</title>
      <link>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100243#M757169</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;"sys_relationship.list" is the table name where all the relationship hold.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;So now suppose you want to show Problem records under a Change request in the related list then all you have to do is define the relationship like this&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #303a46; font-family: Arial; font-size: 13px; text-align: right;"&gt;Applies to table - Change&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #303a46; font-family: Arial; font-size: 13px; text-align: right;"&gt;Queries from table - Problem&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;and the "query with" script will contain this &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Lets say u_youdesiredfield is a reference field which refers to the Problem record&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var abc = parent.u_yourdesiredfield;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var queryString='sys_idIN'+abc;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;current.addEncodedQuery(queryString);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Nov 2016 07:41:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100243#M757169</guid>
      <dc:creator>Rohit Sarkar1</dc:creator>
      <dc:date>2016-11-16T07:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship table</title>
      <link>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100244#M757170</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;where I can find details of the below &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/64436iEE8DF5F593FA789A/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Nov 2016 07:57:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100244#M757170</guid>
      <dc:creator>avinash21</dc:creator>
      <dc:date>2016-11-16T07:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship table</title>
      <link>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100245#M757171</link>
      <description>&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Did you ever find the answer to above?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Aug 2017 20:17:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100245#M757171</guid>
      <dc:creator>Tee1</dc:creator>
      <dc:date>2017-08-07T20:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship table</title>
      <link>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100246#M757172</link>
      <description>&lt;P&gt;You might also check the table named task_rel_task. &amp;nbsp; It shows relationships between any of the various task related records.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;To see it type the following text in the filter for the navigation pane (not the quotes): &amp;nbsp; &amp;nbsp; "task_rel_task.list"&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Aug 2017 21:15:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100246#M757172</guid>
      <dc:creator>HugoFirst</dc:creator>
      <dc:date>2017-08-07T21:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship table</title>
      <link>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100247#M757173</link>
      <description>&lt;P&gt;Hello Avinash,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What are you interested for comes from the Reference field 'Change Request' of Problem (problem) table.&lt;BR /&gt;If you create a custom field from type Reference on a table -&amp;gt; then, in the referenced table you will be able to use a newly added Related List pointing to the table where the custom field was created.&lt;BR /&gt;If you would like to have a connection between two tables from type 'Many To Many' then you will require to create a new Many to Many Definition: sys_m2m.list &amp;gt; New;&lt;BR /&gt;In case, you are looking after establishing a custom relationship, then you may use what Rohit offered, by creating a respective record in Relationships table: sys_relationship.list&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Georgi Mavrodiev&lt;BR /&gt;&lt;BR /&gt;IT Consultant&lt;BR /&gt;Do IT Wise, Bulgaria&lt;BR /&gt;&lt;BR /&gt;You may visit us in our Web Site: www.doitwise.com&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 11:43:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/relationship-table/m-p/2100247#M757173</guid>
      <dc:creator>georgimavrodiev</dc:creator>
      <dc:date>2018-07-17T11:43:13Z</dc:date>
    </item>
  </channel>
</rss>

