<?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>topic Setting up Foreign Keys (ServiceNow) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Setting-up-Foreign-Keys-ServiceNow/m-p/2501517#M103349</link>
    <description>&lt;P&gt;I have two tables from a call to ServiceNow. Incident and User.&lt;/P&gt;
&lt;P&gt;User is easy. It has user_name and a sys_id.&lt;/P&gt;
&lt;P&gt;Incident has a number of references to user. If has an opened_by_sys_id, a closed_by_sys_id, and an assigned_to_sys_id. What is the relationship between these? I cannot set up a simple additional column because it would cause synthetics. How do I load the incident table so that it will look up the three columns in the user table?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 19:57:30 GMT</pubDate>
    <dc:creator>erieqlik</dc:creator>
    <dc:date>2025-01-15T19:57:30Z</dc:date>
    <item>
      <title>Setting up Foreign Keys (ServiceNow)</title>
      <link>https://community.qlik.com/t5/App-Development/Setting-up-Foreign-Keys-ServiceNow/m-p/2501517#M103349</link>
      <description>&lt;P&gt;I have two tables from a call to ServiceNow. Incident and User.&lt;/P&gt;
&lt;P&gt;User is easy. It has user_name and a sys_id.&lt;/P&gt;
&lt;P&gt;Incident has a number of references to user. If has an opened_by_sys_id, a closed_by_sys_id, and an assigned_to_sys_id. What is the relationship between these? I cannot set up a simple additional column because it would cause synthetics. How do I load the incident table so that it will look up the three columns in the user table?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Setting-up-Foreign-Keys-ServiceNow/m-p/2501517#M103349</guid>
      <dc:creator>erieqlik</dc:creator>
      <dc:date>2025-01-15T19:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Foreign Keys (ServiceNow)</title>
      <link>https://community.qlik.com/t5/App-Development/Setting-up-Foreign-Keys-ServiceNow/m-p/2505500#M103961</link>
      <description>&lt;P&gt;Easiest way is to read the user several times and create different keys (or just join in the value to Incident):&lt;BR /&gt;&lt;BR /&gt;OpenByUser:&lt;BR /&gt;Load&lt;BR /&gt;sys_id as opened_by_sys_id,&lt;BR /&gt;user_name as [Opened by user]&lt;BR /&gt;resident User;&lt;BR /&gt;&lt;BR /&gt;ClosedByUser:&lt;BR /&gt;Load&lt;BR /&gt;sys_id as closed_by_sys_id,&lt;BR /&gt;user_name as [Closed by user]&lt;BR /&gt;resident User;&lt;BR /&gt;&lt;BR /&gt;drop table User;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 05:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Setting-up-Foreign-Keys-ServiceNow/m-p/2505500#M103961</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2025-02-12T05:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Foreign Keys (ServiceNow)</title>
      <link>https://community.qlik.com/t5/App-Development/Setting-up-Foreign-Keys-ServiceNow/m-p/2505597#M103978</link>
      <description>&lt;P&gt;User:&lt;BR /&gt;Load sys_id as %open_sys_id,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sys_id as %close_sys_id,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sys_id as %assigned_sys_id,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sys_id,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user_name&lt;BR /&gt;From [..User_Table];&lt;/P&gt;
&lt;P&gt;Incident:&lt;BR /&gt;Load opened_by_sys_id,&lt;BR /&gt;closed_by_sys_id,&lt;BR /&gt;assigned_to_sys_id,&lt;BR /&gt;*&lt;BR /&gt;From Incident ;&lt;/P&gt;
&lt;P&gt;Fact:&lt;BR /&gt;Load opened_by_sys_id as %open_sys_id,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'open' as Activity_Flag,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Other_Needed_Fields&lt;BR /&gt;Resident Incident;&lt;BR /&gt;Load closed_by_sys_id as %close_sys_id,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'close' as Activity_Flag,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Other_Needed_Fields&lt;BR /&gt;Resident Incident;&lt;BR /&gt;Load assigned_to_sys_id as %assigned_sys_id,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'assign' as Activity_Flag,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Other_Needed_Fields&lt;BR /&gt;Resident Incident;&lt;/P&gt;
&lt;P&gt;drop table Incident;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this shoud, fix you issue,&amp;nbsp; create a list box with activity flag and you can filer on open,close and assign and also avoid loops by splitting and concatenation methdo. Thnx&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 14:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Setting-up-Foreign-Keys-ServiceNow/m-p/2505597#M103978</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2025-02-12T14:45:42Z</dc:date>
    </item>
  </channel>
</rss>

