<?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 Re: Auto populate contact_type in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520198#M1252259</link>
    <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/852991"&gt;@radhamanchi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the source for your incident creation? Is it directly from incident form? or record producer? or email?&lt;BR /&gt;We have to set the contact type in the configuration for each source.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, for inbound emails, you have to set the contact type to email in your inbound email scripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Accept the solution and mark as helpful if it does, to benefit future readers.&lt;BR /&gt;Regards,&lt;BR /&gt;Sumanth&lt;/P&gt;</description>
    <pubDate>Mon, 06 Apr 2026 13:26:43 GMT</pubDate>
    <dc:creator>SumanthDosapati</dc:creator>
    <dc:date>2026-04-06T13:26:43Z</dc:date>
    <item>
      <title>Auto populate contact_type</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520193#M1252258</link>
      <description>&lt;DIV&gt;The user submitted an incident where the mandatory fields were not filled. Within 7 seconds, a second incident was automatically created with complete and correct details. It was observed that in the first incident, the &lt;STRONG&gt;Contact Type&lt;/STRONG&gt; field did not auto‑populate as expected and was left blank. For every incident contact type should auto populate but here it is not populated.&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Apr 2026 13:06:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520193#M1252258</guid>
      <dc:creator>radhamanchi</dc:creator>
      <dc:date>2026-04-06T13:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Auto populate contact_type</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520198#M1252259</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/852991"&gt;@radhamanchi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the source for your incident creation? Is it directly from incident form? or record producer? or email?&lt;BR /&gt;We have to set the contact type in the configuration for each source.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, for inbound emails, you have to set the contact type to email in your inbound email scripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Accept the solution and mark as helpful if it does, to benefit future readers.&lt;BR /&gt;Regards,&lt;BR /&gt;Sumanth&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 13:26:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520198#M1252259</guid>
      <dc:creator>SumanthDosapati</dc:creator>
      <dc:date>2026-04-06T13:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Auto populate contact_type</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520199#M1252260</link>
      <description>&lt;P&gt;This typically indicates that &lt;STRONG&gt;two different processes are involved&lt;/STRONG&gt; in incident creation.&lt;/P&gt;&lt;P&gt;The first incident (with missing mandatory fields and blank Contact Type) is likely being created &lt;STRONG&gt;outside the normal UI flow&lt;/STRONG&gt;—for example via:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Integration / API&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Background script&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Import set&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Such methods &lt;STRONG&gt;bypass client-side logic (like default values, UI policies, or client scripts)&lt;/STRONG&gt;, which is why Contact Type did not auto-populate.&lt;/P&gt;&lt;P&gt;The second incident created after a few seconds is likely from:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;A Business Rule / Flow Designer / Integration retry&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Or a correction mechanism that creates a proper record with all required fields&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So what’s happening is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;First record → created without proper validation (bypassed UI logic)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Second record → created by a process that enforces correct data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Why Contact Type is blank?&lt;/STRONG&gt;&lt;BR /&gt;Because auto-population is probably handled via:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Client Script or UI Policy (runs only on form)&lt;BR /&gt;and not via server-side logic&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Fix:&lt;/STRONG&gt;&lt;BR /&gt;Move the Contact Type defaulting logic to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Business Rule (before insert)&lt;BR /&gt;or&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Data Policy&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;so it works for all entry points (UI + API + integrations).&lt;/P&gt;&lt;P&gt;Hope this helps! If it did, please mark it as helpful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 13:29:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520199#M1252260</guid>
      <dc:creator>subhamsni92</dc:creator>
      <dc:date>2026-04-06T13:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Auto populate contact_type</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520200#M1252261</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/852991"&gt;@radhamanchi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then on your record producer form from where user is submitting incident there you should ask for mandatory fields so that you can map against the target fields&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 13:33:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520200#M1252261</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2026-04-06T13:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Auto populate contact_type</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520234#M1252267</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/852991"&gt;@radhamanchi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check this&amp;nbsp;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0824024" target="_self"&gt;KB0824024 Incidents created without filling out mandatory fields&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure user is waiting on that incident for 7 seconds only. because&amp;nbsp;this kind of&amp;nbsp;&lt;SPAN&gt;scenario typically occurs when a session times out or a server-side script bypasses client-side validations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Probable Solution&lt;/STRONG&gt; could be - Implement&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Data Policies&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;instead of just UI Policies,&lt;/STRONG&gt; as Data Policies enforce mandatories at the server level regardless of the user's session state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 14:15:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-populate-contact-type/m-p/3520234#M1252267</guid>
      <dc:creator>Tanushree Maiti</dc:creator>
      <dc:date>2026-04-06T14:15:02Z</dc:date>
    </item>
  </channel>
</rss>

